android 如何调用(打开)其他程序
16lz
2021-01-23
Intent intent = new Intent(); intent.setComponent(new ComponentName("所要打开的程序包名", "所要打开的程序包名+主运行类名")); intent.setAction(Intent.ACTION_VIEW); startActivity(intent);
更多相关文章
- 程序包android.support.annotation不存在
- android软件开发:后台监控应用程序包的安装&卸载
- Android中framework层下添加aidl编译说程序包不存在
- android 应用程序包文件 (APK)
- [Android Studio导入第三方类库方法] Error:(19, 23) 错误: 程序
- Android studio 程序包xxx不存在
- Android应用程序包含的各个文件
- 【Android】adb 查看所有程序包名
- Android根据包名取得指定程序包的信息(名称、图标……)