Programmatically Edit The Properties Of Build.prop On Android
I would like to know whether it is possible or not to open the build.prop file programmatically from an Android application and edit certain properties within it. Are there certain
Solution 1:
ROOT permission is required to open and edit build.prop file.
Check this App in Play Store. build.prop Editor. Since it's open source, and the code is extremely simple, you can use it as a stating point: https://github.com/nathanpc/Build.prop-Editor
Solution 2:
yes the ROOT permission is required and you can get the root access by adding following lines
Process p = Runtime.getRuntime().exec("su");
for more details follow the below link http://www.stealthcopter.com/blog/2010/01/android-requesting-root-access-in-your-app/
Post a Comment for "Programmatically Edit The Properties Of Build.prop On Android"