编程编辑build.prop的Andr​​oid上的性能 [英] Programmatically edit the properties of build.prop on Android

查看:250
本文介绍了编程编辑build.prop的Andr​​oid上的性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有可能或不从Android应用程序编程方式打开build.prop文件,并在其中编辑某些属性。在这个文件中的Andr​​oid有一定的限制,能不能不用的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商店。 build.prop编辑器。因为它是开源的,而code是非常简单的,你可以使用它作为一个说明一点:的 https://github.com/nathanpc/Build.prop-Editor

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的Andr​​oid上的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆