I made an android application inside that i have put an apk file in “res/raw” folder now what i want when i am installing my apk the apk inside the raw folder also install without clicking once more on install button. If it possible by writing my own package manager or package installer please suggest me.
Share
Spyware? Malware? Even if it is not, it might be flagged as such if you have nested APKs.
You can’t install without user interaction unless you have system or root permissions. This is a good thing too. If you are building your own firmware, and distributing to limited devices, you can sign your app with the platform key and be able to install packages directly. There are multiple questions about this, but generally you use one of the hidden (from SDK apps)
installPackage()methods ofPackageManager.