Nope the Android ID is not unique - and on some hardware it's possible to get a null back. There are a couple of threads about this on the Android Developers mailing list. Long story short - it can't be relied on as a unique id.
You might find these URL's illuminating: http://stackoverflow.com/questions/2785485/is-there-a-unique-android-device-id http://android-developers.blogspot.com/2011/03/identifying-app-installations.html On Tue, Oct 4, 2011 at 11:31, Neal <[email protected]> wrote: > Hello, > > > > I’m using the following code to get a UDID for Android: > > > > Android.Provider.Settings.Secure.GetString(ContentResolver, > Android.Provider.Settings.Secure.AndroidId) > > > > Come to find out this is NOT unique and after querying my sync database I’m > shocked at how many different devices use the same Device ID. Am I doing > something wrong??? Or is Android simply not good at coming up with a simple > UDID like iOS? I’m using Android OS 2.2 and later for my app. > > > > By the way, I hear iOS 5 is discouraging (ala compile error/warning) their > UDID retrieval? Maybe we need to just abandon device recognition? > > > > Neal Culiner > > NC Software, Inc. > > http://www.nc-software.com/ > > > > > > _______________________________________________ > Monodroid mailing list > [email protected] > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid > > -- http://www.opgenorth.net _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
