luochuang1 / enh

Automatically exported from code.google.com/p/enh
0 stars 0 forks source link

[dalvik-explorer] enhancement: show API level in BuildActivity #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run Dalvik Explorer
2. try to find the API level of the phone

What is the expected output? What do you see instead?
I'd like to be able to know what the phone's API level is, but it doesn't look 
like it's currently displayed anywhere.

What version of the product are you using? On what operating system?
Using dalvik-explorer off the subversion trunk.  Phone is Galaxy S4 with 
Android 4.2.2.  Host is Ubuntu 12.04.

Please provide any additional information below.
In this patch, I've added the API level.  (I'm making the assumption that 
SDK_INT and API level are synonymous... is that correct?)  I also display the 
other members of Build.VERSION, since they weren't being displayed, either.

Original issue reported on code.google.com by ppell...@speakeasy.net on 31 Aug 2013 at 10:53

Attachments:

GoogleCodeExporter commented 9 years ago
thanks! i've applied the patch as r696. i didn't use reflection for any of 
these fields since Dalvik Explorer's minSdkVersion was already 4.

Original comment by elliott....@gmail.com on 10 Sep 2013 at 4:50