[android-developers] Cannot get ANDROID_ID on 1.6 systems

2010-11-15 Thread John Gaby
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

Re: [android-developers] Cannot get ANDROID_ID on 1.6 systems

2010-11-15 Thread Mark Murphy
That should work on devices. It returned null on the emulator until 2.2 (or maybe 2.1, not sure when they made that cutover). But I have definitely gotten it to work on 1.6 devices, though I haven't tried in quite some time. On Mon, Nov 15, 2010 at 6:52 PM, John Gaby jg...@gabysoft.com wrote: I