How sign my app as “system application” android

戏子无情 提交于 2019-12-13 03:44:03

问题


I've an application that writes some APN settings. Since from Android 4.0 this operation is no more allowed, but for system applications, my question is:

Is there any way to sign my application as "System app", so it can be installed on no-rooted devices and get access to APN settings?


回答1:


On non-rooted devices above IceCreamSandwich, you can't. (Unless you have the signature key which was used to sign the operating system, i.e. the hardware manufacturer's key or the one of your ROM)

signatureOrSystem permissions are available to applications signed with the same key used to sign the device operating system.

See: https://code.google.com/p/android/issues/detail?id=24227



来源:https://stackoverflow.com/questions/15654802/how-sign-my-app-as-system-application-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!