02/01/2023, 1:19 PM
Hello, how to install app to /system/app programmatically?

Edgars Malahovskis

02/01/2023, 1:34 PM
First, you should write your custom ROM with admin rights. Then access /system/app via some file manager and copy desired apk into above mentioned folder. In short and aside of any jokes… If you are considering publishing application to playStore, this is not possible “programmatically”. If you are writing app for you, your only option is to root the device and copy apk as mentioned above.

John Matthews

02/02/2023, 3:18 PM
I've done something like this many years ago in 2.2 android. You can embed the APK in the assets of the app you are installing. Sort of like when you had to for the watch apps first generation. I do not remember the details and not sure if this is possible now in 13 as this was 9 years ago I think.