Intent intent = new Intent();
intent.setComponent(new ComponentName("所要打开的程序包名", "所要打开的程序包名+主运行类名"));
intent.setAction(Intent.ACTION_VIEW);
startActivity(intent);
android 如何调用(打开)其他程序
最新推荐文章于 2021-05-31 06:57:04 发布
Intent intent = new Intent();
intent.setComponent(new ComponentName("所要打开的程序包名", "所要打开的程序包名+主运行类名"));
intent.setAction(Intent.ACTION_VIEW);
startActivity(intent);