Search code examples
androidserial-number

How to get Device Serial Number (Not Device ID)


How to get Device Serial Number? I don't want Device ID. I want Serial number (the one which we see in Devices view in Eclipse). If there is no way to get it, can I at least know where is it stored?


Solution

  • As long as you are using API 9

    Build.SERIAL
    

    Should return the same value as Eclipse shows.