How do I get an unique id from an android phone?? Whenever i try to get the unique id from the phone as a string it always shows "android id" and no other unique hex values how do i get that one?
This is the code I use to get the id until now:
String id=Settings.Secure.getString(contentResolver,Settings.Secure.ANDROID_ID);
Log.i("Android is is:",id);
the output which i get is like this in my log cat:
Android id is: android id
i am using nexus one for testing.
how can i get that unique hex id?