install an APK on android L circumvent the file:// limitation set by packagemanager since kitkat version.
ApkInstaller is hosted in the following web site
https://github.com/nicodeceulaer/ApkInstaller
If you think the Android project ApkInstaller listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of ApkInstaller.
Item | Value |
---|---|
Java File Count | 3 |
Activity Count | 1 |
Required Permissions | android.permission.DELETE_PACKAGES android.permission.INSTALL_PACKAGES |
ApkInstaller has the following Java source files.
android.content.pm.IPackageInstallObserver.java com.commonsware.android.installer2.FileProvider.java com.commonsware.android.installer2.Main.java