Wonderful Thanks!!

-----Original Message-----
From: android-developers@googlegroups.com 
[mailto:android-develop...@googlegroups.com] On Behalf Of Kostya Vasilyev
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/TelephonyManager.html#getDeviceId()

> public String getDeviceId ()
> Since: API Level 1
>
> Returns the unique device ID, for example, the IMEI for GSM and the 
> MEID or ESN for CDMA phones. Return null if device ID is not available.
>
> Requires Permission: READ_PHONE_STATE

Note that at least for GSM phones, the user can insert a new SIM card with a 
new phone number, or change the number assigned to the same card. 
So a phone number, while unique, does not identify the device.

-- Kostya

28.12.2010 20:29, XiaoXiong Weng пишет:
> Um. I know that if I dial *#06# it would return the IMEI number, but 
> each carrier might differ so it's probably not a good solution, I 
> would stick with the cellphone number since that's accessible.
>
> -----Original Message-----
> From: android-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 responded with input. My next 
> question would be is my app able to access the MEID or the IMEI number 
> or is that something that can't be accessed?
>
> -----Original Message-----
> From: android-developers@googlegroups.com
> [mailto:android-develop...@googlegroups.com] 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, for example, does not have one. It has an IMEI instead. Like any 
> other GSM phone.
>
> On Dec 23, 2:11 pm, Ryan Aviles<ryan.avi...@gmail.com>  wrote:
>> The MEID might be useful. I dont think this is the same as the
> ANDROID_IDOn Thu, Dec 23, 2010 at 3:58 PM, John 
> Gaby<jg...@gabysoft.com>
> 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.Secu...
>>> John
>>> On Dec 23, 10:21 am, Tommy<droi...@gmail.com>  wrote:
>>>> Hey evereyone,
>>>> I was wondering if there is a way to get a unique ID for the users 
>>>> phone. I imagine the IME and Serial Numbers are unique to each 
>>>> phone right? Is there a way I can request the IME number or the 
>>>> serial number or is there another number I can request that is 
>>>> unique to each phone? This is used to help secure login to an app.
>>>> Thanks,
>>>> Tommy
>>> --
>>> 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
>>
> --
> 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
>


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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

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

Reply via email to