Android: unique id for the same user on all devices
Is there an unique value to identify the same Android user on different devices?
ANDROID_ID is a value which identifies the device
but what about a value to identify the user?
if you request the GET_ACCOUNTS permission in your app, you are able to access the email address of the user, but that requires your app to ask the user to grant such permission, which is not very pleasant
Anyone is aware of an unique id that an user keeps on all devices where he uses the same Google account?
You could use the AccountPicker to get the user account without using additional permission. In this way you have to show to the user a dialog to select the account. Here the docs
链接地址: http://www.djcxy.com/p/70160.html