0

Is there a way to identify every android device with a unique ID? What I mean is can I programmatically read a unique ID of a device that is running android. It doesn't matter if the format of the unique ID varies across hardware platform ( phones and including tablets), but as long as it is unique, reliable, and always accessible, it will work for me. I am currently using TelephonyMgr.getDeviceId() for phones which is working fine till now but I don't know what I should do for tablets. Should I use SECURE.ANDROID_ID? Is it reliable for expanding the usage of my app to android tablets? I have also heard on other posts that on many phones ANDROID_ID is same and also that it comes as a null sometimes. Can anyone give me a concrete solution to this problem?

nishantvodoo
  • 835
  • 3
  • 17
  • 32

0 Answers0