Search code examples
javaandroidfirmwareserial-number

Reading Samsung firmware and serial from Android phones (java)


I'm looking for a way to read the firmware version (e.g. I9100XXKI3) from a Samsung mobile phone running Android from within an App. I know it is possible as I've seen an app already doing this however I could not find anything in the SDK docs..

Also I'm looking for the serial number (S/N as also possible to retrieve via adb -service and printed on the sticker under the battery).

Thanks in advance.


Solution

  • Call getDeviceId() for the IMEI number.

    As for the build string use : Build.DISPLAY