Android(安卓)代码安装APK文件
16lz
2021-12-21
代码安装APK文件
Intent intent = new Intent(Intent.ACTION_VIEW); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);intent.setAction(android.content.Intent.ACTION_VIEW);intent.setDataAndType(Uri.fromFile(file),"application/vnd.android.package-archive"); startActivity(intent);
更多相关文章
- [置顶] AndroidStudio快捷键
- android apk安装结束的系统广播的监听
- Android(安卓)CTS Test
- Android蓝牙通信代码
- android音乐播放器
- android保存预览图片
- android 实现透明按钮
- Pycharm安装PyQt5的详细教程
- NPM 和webpack 的基础使用