Android 程序中安装APK文件

ntent intent = new Intent(Intent.ACTION_VIEW);
            intent.setDataAndType(Uri.fromFile(new File
            (Environment.getExternalStorageDirectory() + "/download/" + "app.apk")), "application/vnd.android.package-archive");
            startActivity(intent); 

你可能感兴趣的:(Android 程序中安装APK文件)