Signing my android application as system app

前端 未结 3 1296
傲寒
傲寒 2020-12-08 03:28

In my company, we would want total control for battery consumption in the field, using only 2g and gps could drain the battery awfully fast. What we decided is that we need

3条回答
  •  伪装坚强ぢ
    2020-12-08 03:57

    Well below is your answer,

    1. You can find platform keys from HERE. The command to sign apk (for linux) is:

      java -jar signapk.jar -w platform.x509.pem platform.pk8 APPLICATION.apk APPLICATION_sign.apk

    2. If you sign your apk with platform keys you won't required root access you can simply install it from "adb install" command, and yes in someway it is like root 'cos it can access all internal api but keep in mind if your app is system signed then you can't write external storage.

    3. First of all don't combine both root is user where system app is application type which distinguish from normal application below link might clear your confusion regarding it.

      what-is-the-difference-between-android-user-app-with-root-access-and-a-system-ap

提交回复
热议问题