Hello, how to install app to /system/app programma...
# android
h
Hello, how to install app to /system/app programmatically?
😶 9
e
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.
j
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.