问题描述
我想知道是否有可能或不从Android应用程序编程方式打开build.prop文件,并在其中编辑某些属性。在这个文件中的Android有一定的限制,能不能不用的root访问权限怎么办?
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 restrictions on this file in Android and can it be done without root access?
如果有人能指出我在正确的方向,或提供和例子,将是巨大的。
If someone could point me in the right direction or provide and example that would be great.
推荐答案
ROOT权限才能打开和编辑build.prop文件。
ROOT permission is required to open and edit build.prop file.
检查这个程序在Play商店。 。因为它是开源的,而code是非常简单的,你可以使用它作为一个说明一点:的
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
这篇关于编程编辑build.prop的Android上的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!