Hi fisobral, Having the exact same problem using a Motorola Droid running 2.0.1 and HTC Hero on 1.5.
Querying the Android ID consistently returns a null value, using similar code to yours in the onCreate of the launcher Activity: String androidID = Secure.getString(this.getContentResolver(), android.provider.Settings.Secure.ANDROID_ID); Toast.makeText(this, "ANDROID_ID: " + androidID, Toast.LENGTH_LONG).show(); We need the androidID to work, because our app needs to be 100% sure the device ID is unique across all vendors and OS versions. We're now using IMEI but from what I've been able to find up to this point, that isn't guaranteed to be unique. That's what the android ID is for of course. Have you found the cause of this in the meantime? I'm wondering if the app somehow thinks it is running on an emulator or if there is indeed something in the compilation that's triggering this behavior. One clue is that it is happening across different OS versions and devices (Droid @ 2.01 and HTC Hero @ 1.5) so the one consistent factor is the compiled code and APK. Trying to fix, will keep you posted. -- 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