Saturday, July 9, 2011

Re: [android-developers] How to get device version number programmatically

On Sat, Jul 9, 2011 at 6:47 AM, Suraj Gopalakrishnan <surajjmr@gmail.com> wrote:
> Then, what does TelephonyManager.getDeviceSoftwareVersion() return?

First, that refers to software, not hardware. Devices are hardware.
Device software is software. Hardware is not software. Software has
versions, which may change over the life of the device. Devices have
models, which do not change over the life of the device.

Second, the documentation for that method states:

"Returns the software version number for the device, for example, the
IMEI/SV for GSM phones. Return null if the software version is not
available."

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment