Tuesday, April 17, 2012

Re: [android-developers] Reading ROM version through code

On Tue, Apr 17, 2012 at 5:11 PM, JP <jetpoet@yahoo.com> wrote:
> I looked at that also, and this doesn't give me what I want. For my HTC
> Legend phone, this returns "01".
>
> I am expecting: "3.15.405.3" or "3.15.405.3 CL291292 release-keys", which is
> what it says under "Software number" and "Build number" in my
> "Settings/About Phone/Software Information" activity.

Here is that activity, from AOSP:

https://github.com/android/platform_packages_apps_settings/blob/master/src/com/android/settings/DeviceInfoSettings.java

See if you can find in there what you're seeking.

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

Android App Developer Books: http://commonsware.com/books

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate