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.
精彩评论