I just found that code myself... am cloning as I type. Will report what I find.
JP Den tirsdag den 17. april 2012 23.19.04 UTC+2 skrev Mark Murphy (a Commons Guy): > > On Tue, Apr 17, 2012 at 5:11 PM, JP <[email protected]> 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 > > Den tirsdag den 17. april 2012 23.19.04 UTC+2 skrev Mark Murphy (a Commons Guy): > > On Tue, Apr 17, 2012 at 5:11 PM, JP <[email protected]> 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 [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

