I think the documentation is not updated to reflect the multi-user feature of Android 4.2. Also, have a look at the below link before using ANDROID_ID to get a unique identifier.
http://android-developers.blogspot.in/2011/03/identifying-app-installations.html On Thursday, 15 November 2012 01:19:11 UTC+5:30, Matthew Insko wrote: > > According to the documentation at > http://developer.android.com/about/versions/android-4.2.html: > "Beware that if your app requests one of the hardware device identifiers > (such as the WiFi MAC address, the > SERIAL<http://developer.android.com/reference/android/os/Build.html#SERIAL>number, > or the > ANDROID_ID<http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID>number), > they will provide the same value for each user because these > identifiers are tied to the hardware and not the user." > > On my nexus 7, running 4.2, each user has his/her own ANDROID_ID. Does > Android 4.2 have a Bug, or is documentation wrong? > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

