简体   繁体   中英

how to get android firmware version installed in phone?

while developing an application how to get current operating system version installed in mobile phone?

for example,

1.5,2.1 etc..

can any one guide me how to get it?

any help would be appriciated.

See android.os.Build.VERSION . SDK or SDK in contain the API version. android.os.Build.VERSION_CODES contains the relevant constants.

    String deviceSoftwareVersion = telephonyManager.getDeviceSoftwareVersion();

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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