Monday, January 7, 2013

Android - Get Device's Unique Identifier(UID)

String deviceId = Secure.getString(this.getContentResolver(),
                Secure.ANDROID_ID);
returns the Android ID as an unique 64-bit hex string.