开发者

Renaming Android apk Programmatically

Is it possible to rename a Android apk file extension programmatically without a rooted device? The goal is to disable a application from starting up, 开发者_Python百科is this possible?


With one limited exception, the Android security model prevents one application from altering files belonging to another, so the answer is no.


I think it's possible to disable applications using PackageManager.setApplicationEnabledSetting but you'll probably need to call it from an application signed with the same key as the app to be disabled.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜