There is a path to the apk package that needs to be installed. How to make ACTION_INSTALL_PACKAGE install a package along this path?
1 answer
On the en-SO offer as follows:
Intent promptInstall = new Intent(Intent.ACTION_VIEW) .setDataAndType(Uri.parse("file:///path/to/your.apk"), "application/vnd.android.package-archive"); startActivity(promptInstall); |