Just a note - this string is "null" in emulator and any application
can change the value of the string if it wants to (provided they have
the WRITE_SETTINGS permission).



Tauno

On Oct 18, 1:36 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> Al Sutton wrote:
> > Just by looking at the docs, what about getting ANDROID_ID from the
> > System Settings?
>
> > The docs at
> >http://code.google.com/android/reference/android/provider/Settings.Sy...
> > say;
>
> >         public static final String
> >         <http://code.google.com/android/reference/java/lang/String.html>
> >         ANDROID_ID
>
> > The Android ID (a unique 64-bit value) as a hex string. Identical to
> > that obtained by calling GoogleLoginService.getAndroidId(); it is also
> > placed here so you can get it without binding to a service.
> > Constant Value: "android_id"
>
> Ooooooooooooooooooooooooooooooo!
>
> That's got possibilities! It doesn't really say what the universe of
> "unique" is, but since it's static, one would hope it is unique to the
> device.
>
> I'll try it out later this morning -- many thanks!
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
>
> Android Training on the Ranch! -- Mar 16-20, 
> 2009http://www.bignerdranch.com/schedule.shtml
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to