I am using the following to obtain the ANDROID_ID for the device:

Settings.Secure.getString(getContentResolver(),
Settings.Secure.ANDROID_ID);

Unfortunately this is returning null on 1.6 system (emulator and
actual devices).

I have also tried using

Settings.Secure.ANDROID_ID;

which is deprecated, but that does not work either.

Does anyone know how to get a unique device id for version 1.6?

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to