Hi All,
For a system I'm making I require the ability to copy/install an APK from the SD Card (/storage/sdcard0) on boot.
Ideally this copy/install process would be done before boot is completed such that the application can launch immediately (Single app mode device - no Launcher2).
My plan was to do this on initiation of a system service during boot - however this doesn't work as the system service is denied access to the sd card partition.
I've tried also using this from native: system("cat /sorage/sdcard0/theapp.APK >> /data/app/theapp.APK"); but no luck.
Can anyone advise how to grant my system service access to the SD Card or perhaps a better method for doing this?
Thanks!