Senin, 04 April 2011

Get ANDROID_ID

ANDROID_ID is 64-bit number (as a hex string) that is randomly generated on the device's first boot and should remain constant for the lifetime of the device. (The value may change if a factory reset is performed on the device.)

 String Id = Settings.Secure.getString(getContentResolver(), Settings.Secure.ANDROID_ID);


Related Post:
- Get phone type using android.telephony.TelephonyManager



0 komentar:

Posting Komentar

Copyright © 2012 Codding News All Right Reserved