Hi,

Following other threads - I'm trying to get a unique device ID from
the device. I tried this:

  String ID = Settings.Secure.getString(context.getContentResolver(),
android.provider.Settings.Secure.ANDROID_ID);

but this returns null when running on my G1. Is it supposed to be
returning a valid number, or am I accessing it wrong? I don't want to
use the telephony device ID because that requires more permissions.

Thanks

-- 
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

Reply via email to