Return to Snippet

Revision: 28698
at July 12, 2010 23:55 by Kingcron


Initial Code
import android.provider.Settings.Secure;
   
private String android_id = Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID);

Initial URL

                                

Initial Description
The Android ID (a unique 64-bit value) as a hex string. It is null on the emulator.

Initial Title
Uniquely identify an android device

Initial Tags
android

Initial Language
Java