[android-developers] Re: Unique Phone ID

2010-12-29 Thread Swaroop
silyev > Sent: Tuesday, December 28, 2010 12:37 PM > To: android-developers@googlegroups.com > Subject: Re: [android-developers] Re: Unique Phone ID > > http://developer.android.com/reference/android/telephony/TelephonyMan...() > > > public String getDeviceId () > > Since:

RE: [android-developers] Re: Unique Phone ID

2010-12-28 Thread Tommy
oid-developers@googlegroups.com > [mailto:android-develop...@googlegroups.com] On Behalf Of Tommy > Sent: Tuesday, December 28, 2010 11:33 AM > To: android-developers@googlegroups.com > Subject: RE: [android-developers] Re: Unique Phone ID > > First off thanks to everyone who responde

RE: [android-developers] Re: Unique Phone ID

2010-12-28 Thread XiaoXiong Weng
-developers@googlegroups.com Subject: Re: [android-developers] Re: Unique Phone ID http://developer.android.com/reference/android/telephony/TelephonyManager.html#getDeviceId() > public String getDeviceId () > Since: API Level 1 > > Returns the unique device ID, for example, the IMEI for

Re: [android-developers] Re: Unique Phone ID

2010-12-28 Thread Kostya Vasilyev
id-develop...@googlegroups.com] On Behalf Of Tommy Sent: Tuesday, December 28, 2010 11:33 AM To: android-developers@googlegroups.com Subject: RE: [android-developers] Re: Unique Phone ID First off thanks to everyone who responded with input. My next question would be is my app able to access the MEID or the IMEI nu

RE: [android-developers] Re: Unique Phone ID

2010-12-28 Thread XiaoXiong Weng
id-develop...@googlegroups.com] On Behalf Of Tommy Sent: Tuesday, December 28, 2010 11:33 AM To: android-developers@googlegroups.com Subject: RE: [android-developers] Re: Unique Phone ID First off thanks to everyone who responded with input. My next question would be is my app able to access the MEID o

RE: [android-developers] Re: Unique Phone ID

2010-12-28 Thread Tommy
m] On Behalf Of Indicator Veritatis Sent: Thursday, December 23, 2010 7:07 PM To: Android Developers Subject: [android-developers] Re: Unique Phone ID I can confirm for you that the MEID is most certainly not the same as ANDROID ID. Furthermore, MEID is unique to CDMA phones, so my T-Mobile G2

[android-developers] Re: Unique Phone ID

2010-12-23 Thread Indicator Veritatis
I can confirm for you that the MEID is most certainly not the same as ANDROID ID. Furthermore, MEID is unique to CDMA phones, so my T-Mobile G2, for example, does not have one. It has an IMEI instead. Like any other GSM phone. On Dec 23, 2:11 pm, Ryan Aviles wrote: > The MEID might be useful. I d

Re: [android-developers] Re: Unique Phone ID

2010-12-23 Thread Ryan Aviles
The MEID might be useful. I dont think this is the same as the ANDROID_ID On Thu, Dec 23, 2010 at 3:58 PM, John Gaby wrote: > You could use ANDROID_ID, but be warned that I have found devices that > return null for this value. > > http://developer.android.com/reference/android/provider/Settings.S

[android-developers] Re: Unique Phone ID

2010-12-23 Thread John Gaby
You could use ANDROID_ID, but be warned that I have found devices that return null for this value. http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID John On Dec 23, 10:21 am, Tommy wrote: > Hey evereyone, > > I was wondering if there is a way to get a uni

[android-developers] Re: unique phone id....

2009-09-13 Thread Wayne Wenthin
I use this also. Is there some way to create one of these for the emulator? On Sun, Sep 13, 2009 at 9:32 AM, Maps.Huge.Info (Maps API Guru) < cor...@gmail.com> wrote: > > I'm using: > > Settings.Secure.getString(getContentResolver(), > Settings.Secure.ANDROID_ID) > > as a unique id for the phon

[android-developers] Re: unique phone id....

2009-09-13 Thread CraigsRace
I also use that. I then convert the hex string into a long for ease of use. Long.parseLong(id, 16); On Sep 14, 2:32 am, "Maps.Huge.Info (Maps API Guru)" wrote: > I'm using: > > Settings.Secure.getString(getContentResolver(), > Settings.Secure.ANDROID_ID) > > as a unique id for the phone. It do

[android-developers] Re: unique phone id....

2009-09-13 Thread Maps.Huge.Info (Maps API Guru)
I'm using: Settings.Secure.getString(getContentResolver(), Settings.Secure.ANDROID_ID) as a unique id for the phone. It doesn't require any additional permissions and seems to be unique. Someone correct me if I'm wrong... -John Coryat "What Zip?" "Radar Now!" --~--~-~--~~-

[android-developers] Re: unique phone id....

2009-09-13 Thread Mark Murphy
sdphil wrote: > is there a unique phone id (not the phone number -- since that can > obviously change). > > on other phones it's called the "PIN" code. android.os.TelephonyManager has getDeviceId(), which returns the IMEI for GSM devices, and who knows what right now for CDMA devices. -- Mark