Or just read /system/build.prop directly from Java.

It's off-topic, that's true.

OP: you may want to also try asking on xda-developers.

-- K

23 апреля 2012 г. 18:58 пользователь Chris Stratton <cs07...@gmail.com>написал:

> Update: none of these are stable APIs and you will need to use the call
> the native function property_get() or invoke the getprop routine to
> retrieve them.
> That makes this method off topic for this group.
>
>
> On Monday, April 23, 2012 10:53:25 AM UTC-4, Chris Stratton wrote:
>>
>> On Monday, April 23, 2012 7:54:50 AM UTC-4, JP wrote:
>>>
>>> Didn't find anything unfortunately. Is this really impossible to do?
>>
>>
>> Open an adb shell, type "getprop" and look at the result.
>>
>> Some entries which may be of interest:
>> ro.build.fingerprint
>> ro.build.version.*
>> ro.product.version
>>
>> These should be readable by apps; what I don't know off the top of my
>> head is which (if any) are "stable API's" and which are private and thus
>> subject to change without notice.
>>
>  --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to