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
It should request user salt thereby giving user ability to revoke tracking by changing salt
ReplyDelete