I need to use a unique ID for an Android app and I thought the serial number for the device would be a good candidate. How do I retrieve the serial number of an Android devi
I know this question is old but it can be done in one line of code
String deviceID = Build.SERIAL;