private void install_soft() {
private static String str_soft_path = "/sdcard/msoft";
File file = new File(str_soft_path + "/fuck.apk");
Intent intent = new Intent();
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.setAction(android.content.Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(file),
"application/vnd.android.package-archive");
startActivity(intent);
}
android 下载好了自动安装apk文件
最新推荐文章于 2024-05-23 11:32:00 发布