I would like to contribute to determining which field, available for the API in Android, is the best equivalent of the name of the device "iPhone" (it will be used as non-essential data for entering the server). By the name of the device, I do not mean “model” or any identifier associated with hardware or software, but more associated with the owner. See How to get the name of the iPhone device for what exactly I refer.
As an additional example, faced with the same problem in BlackBerry, it was decided that the owner name was the best equivalent. (See Answer in Get Blackberry Owner Information (e.g. name / number) via API )
So far, it seems to me that the best android equivalent uses the AccountManager to return email to a Google account; see How can you get the email address of an Android user? . This seems to me a rather crude approximation; and you would need to add another full permission for the application for only some non-essential login data. Does anyone know of a better equivalent and how to grab it?
Many thanks!
source
share