How to identify users on Android devices?
I created an app in which the users can do certain things like comment, earn points etc. I need to store these data in an online database (the app is linked to a website), therefore I need to identify the user somehow. I found the following ways:
Is there another way to identify the user? I want to avoid using GET_ACCOUNTS permission to get the users email address, the best if I could link a unique id without permissons. I think users would not prefer having their email adress appeared on the screen (as an id) when they first launch the application. (please note that I only want an id, no password is required)
There's a nice tutorial presenting the best practices for achieving what you want:
http://android-developers.blogspot.com.br/2011/03/identifying-app-installations.html
There's also a similar question here in SO:
Is there a unique Android device ID?
链接地址: http://www.djcxy.com/p/70158.html下一篇: 如何识别Android设备上的用户?