This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yan12125
Recipients Alex.Willmer, Roman.Evstifeev, xdegaye, yan12125
Date 2016-04-26.16:49:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Also how can we be sure that the '/system/build.prop' file may be guaranteed to exist on all android devices ?

This path is hard-coded in BioniC [1]. Though I can't find a document/relevant source codes to guarantee '' and '' is always in /system/build.prop

And the format of build.prop is not exactly INI. It supports 'import' clauses. See [2] and load_properties() function in [3]

Other options include calling `getprop` via subprocess or using C level function __system_property_get(). The first approach should always work. It's just somewhat tricky on Android 4.1 [4]. For the second option, a bad news is that it's a private API and was just removed from the latest NDK. Chromium has a workaround for that [5] and CPython may use similar approaches.

Date User Action Args
2016-04-26 16:49:20yan12125setrecipients: + yan12125, xdegaye, Roman.Evstifeev, Alex.Willmer
2016-04-26 16:49:20yan12125setmessageid: <>
2016-04-26 16:49:20yan12125linkissue26855 messages
2016-04-26 16:49:20yan12125create