简体   繁体   English

从Android手机读取三星固件和串行(java)

[英]Reading Samsung firmware and serial from Android phones (java)

I'm looking for a way to read the firmware version (eg I9100XXKI3) from a Samsung mobile phone running Android from within an App. 我正在寻找一种从App内运行Android的三星手机读取固件版本(例如I9100XXKI3)的方法。 I know it is possible as I've seen an app already doing this however I could not find anything in the SDK docs.. 我知道有可能,因为我已经看到一个应用程序已经在执行此操作,但是我在SDK文档中找不到任何内容。

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). 我也在寻找序列号(也可以通过adb -service检索序列号,并打印在电池下方的不干胶标签上)。

Thanks in advance. 提前致谢。

Call getDeviceId() for the IMEI number. 调用getDeviceId()作为IMEI号码。

As for the build string use : Build.DISPLAY 至于构建字符串,请使用: Build.DISPLAY

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM