http://developer.android.com/reference/android/os/Build.VERSION.html
On Apr 6, 5:35 am, MobDev <[email protected]> wrote: > Hi, > I am trying to retrieve the Android OS Version (like 1.5 or 1.6 or > 2.1) and I am using this code : > > TelephonyManager mTelephonyMgr = > (TelephonyManager)getSystemService(TELEPHONY_SERVICE); > String softwareVer = mTelephonyMgr.getDeviceSoftwareVersion(); > > When I try this on a ADP2 (Google Ion with Android OS 1.6) it will > return 02... > Is there any table or something that relates such a return value to a > specific OS ? > Is there any other way to actually retrieve the OS version directly, > as in returns directly 1.6 ? > > Thanks in advance ! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.

