Intent intent = new Intent(Intent.ACTION_VIEW);intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); //android4.0以后需要添加这行代码intent.setDataAndType(Uri.parse(filePath), "application/vnd.android.package-archive");startActivity(intent);
300字范文,内容丰富有趣,生活中的好帮手!
时间:2024-06-25 15:13:54
Intent intent = new Intent(Intent.ACTION_VIEW);intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); //android4.0以后需要添加这行代码intent.setDataAndType(Uri.parse(filePath), "application/vnd.android.package-archive");startActivity(intent);
KEIL安装新版本后编译出现无法打开 core_cm3.h 问题
2019-05-18
STM32bug【 KEIL安装新版本后编译出现无法打开 core_cm3.h 问题 】
2024-08-04