Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Settings.Secure.ANDROID_ID not unique on DROID2?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kostya Vasilyev  
View profile  
 More options Aug 18 2010, 11:49 am
From: Kostya Vasilyev <kmans...@gmail.com>
Date: Wed, 18 Aug 2010 19:49:27 +0400
Local: Wed, Aug 18 2010 11:49 am
Subject: Re: [android-developers] Re: Settings.Secure.ANDROID_ID not unique on DROID2?
  Nathan,

The docs say that getDeviceId is the IMEI for GSM or its equivalent for
CDMA devices.

Glad it works for you, but I have two issues with this:

1 - It requires a special permission, for no good reason from users'
point of view (unless the app already needs this).

2 - There might be devices that don't return the IMEI correctly, just
like the DROID 2 doesn't generate the ANDROID_ID correctly.

Note that using the right IMEI value in the low-level cellular radio
code (so phone calls work) and returning it all the way to application
layer are two different things, at least it would seem that way.

-- Kostya

18.08.2010 19:39, Nathan пишет:

> Great. I can just wait to see if angry customers ask why their trial
> is already over.

> Nonetheless, I couldn't find 9774d56d682e549c among my trial users.
> Maybe no Droid 2s have tried it yet.

> I'm using this as the id but I believe it does the same as ANDROID_ID.

>            TelephonyManager manager =
> (TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE);

>            String imei = manager.getDeviceId();

> Nathan

> On Aug 18, 7:41 am, "Maps.Huge.Info (Maps API Guru)"
> <cor...@gmail.com>  wrote:
>>> Do you think this should be logged at code.google.com as an issue. I
>>> did as search for ANDROID_ID there and nothing came up.
>> I think the right people are looking into this problem. Hopefully, it
>> will turn out to be easy to correct.

>> -John Coryat

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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.