androidserial-number

Android: How to programmatically access the device serial number shown in the AVD manager (API Version 8)


How do I programmatically access the value shown in the image below ?

enter image description here


Solution

  • This is the hardware serial number. To access it on

    It's unique for any device. If you are looking for possibilities on how to get/use a unique device id you should read here.

    For a solution involving reflection without requiring a permission see this answer.