Install APK programmatically on android
问题 I've been trying to get an android application to install an APK on the sdcard programmatically but I'm running into a little trouble. This is how I'm doing it: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType("ApkFilePath...","application/vnd.android.package-archive"); activity.startActivityForResult(intent,5000); Now that works ok, it brings the package manager and I can control what to do when the manager finishes installing the APK. But the issue that I'm having is