I also use TelephonyManager in my app, but I do, on occasion, get an angry
e-mail asking why the app needs to make phone calls. Many users just don't
understand the phone state permission.

On Fri, Mar 26, 2010 at 2:20 PM, Ken H <[email protected]> wrote:

> 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 <[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> 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.
>



-- 
Shane Isbell (Founder of ZappMarket)
http://twitter.com/sisbell
http://twitter.com/zappstore
http://zappmarket.com

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

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.

Reply via email to