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.System.html 
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"

Al.


Mark Murphy wrote:
> nkijak wrote:
>   
>> Wouldn't you need some other unique ID? Wouldn't the MAC address would
>> be different if the user was on wi-fi or the cell network?
>>     
>
> Yeah, but I'm running out of answers. TelephonyManager#getDeviceId() 
> requires permissions, and I'm trying to minimize required permissions.
>
> Besides, I might be able to control which MAC address of the available 
> ones I use for my identifying purposes.
>
> So...anyone know how to get it?
>
>   


-- 
Al Sutton

W: www.alsutton.com
B: alsutton.wordpress.com
T: twitter.com/alsutton


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