Can't say anything about the ANDROID_ID thing. What's wrong with the TelephonyManager? You can get the device ID, subscriber ID, Sim serial number, etc. I think the only permission you need is
<uses-permission android:name="android.permission.READ_PHONE_STATE"/> in the manifest. Ken On Mar 25, 6:28 am, Anna PS <annapowellsm...@googlemail.com> wrote: > Odd - I posted this message yesterday and got sent a copy, but it > doesn't seem to have shown up in the group... Here it is again. > > -------- > > This seems to be a bit of a vexed issue: > seehttp://groups.google.com/group/android-developers/browse_thread/threa... > > Like the person who started that thread, I need to get a unique ID for > a device, without using scary permissions for TelephonyManager. I've > tried > > id = > android.provider.Settings.Secure.getString(getContentResolver(), > android.provider.Settings.Secure.ANDROID_ID); > > but that just produces "android_id" on my phone. Anyone know a way > that works? I'm using a Nexus One and Android 2.1. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.