When I type
adb devices
in the console, then it prints this:
List of devices attached
SH16BV815282 device
How do I programmatically get the SH16BV815282
, if it possible at all?
I want to get that value by android application at run time. Where this value is actually stored?