No, this is different.
IMEI is assigned to every phone before it leaves the factory, and
doesn't change during its lifetime. It's often printed on the box.
ANDROID_ID is generated by Android, and can change (e.g. when settings
are reset).
If it works for you, it's great, but I would like to see a solution
that's not tied to the telephony stack. There are devices without a
phone radio at all.
-- Kostya
18.08.2010 19:49, Nathan пишет:
I haven't seen that number yet. I'm still waiting for angry users
wondering why their trial expired already.
This is the code I use, but I think it returns 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 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