Is there a unique Android device ID? Do Android devices have a unique ID, and if so, what is a simple way to access it using Java? Solution : Settings.Secure#ANDROID_ID returns the Android ID as an unique for each user 64-bit hex string. import android.provider.Settings.Secure; private String android_id = Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID); Update: 06/05/2015 When reviewing this as a possible solution, please consider Joe's answer below instead as an alternative. http://stackoverflow.com/questions/2785485/is-there-a-unique-android-device-id