ProAnswers.org

Do Android devices have a unique id?

If so, what is a simple way to access it via java?

	[Settings.Secure#ANDROID_ID](http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID) returns the Android ID as an unique 64-bit hex string.





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