I have a Custom Launcher .apk that I ADB Sideload. I can simply copy the .apk into /system/app or /system/priv-app, set the appropriate permissions (rw-r-r, root:root) and then do a reboot. That's it. The App is considered a System-App.
adb rootadb push <path/file.apk> /system/app/adb shellchmod 644 /system/app/HelloWorld.apkreboot
The App is a "System-App" and should remain one after updating. How can I update it without using Google Play Store? It is a KIOSK Application and it should be updatable from the APP itself.
Android kiosks are customer facing Android devices that serve a single purpose by running only a single app.
What are my Options here?/What I have already found
- Can I just install .apk programmatically from within my App? (Will it still be installed inside /System/app?)
- Do I have to use over-the-air (OTA) updates?
OTA updates are designed to upgrade the underlying operating system, the read-only apps installed on the system partition.
- What other Options do I have?
Android:
- minSdkVersion: 29
- targetSdkVersion: 31