Intent intent =
new Intent(Intent.ACTION_VIEW);
String filePath = “/sdcard/FileExplorer.apk”
intent.setDataAndType(Uri.parse(
"file://"+filePath),
"application/vnd.android.package-archive")
startActivity(intent);
转载请注明原文地址: https://ju.6miu.com/read-1312372.html