我尝试从我的主要活动中启动第三方应用程序:
意图=新意图();
final ComponentName cn = new ComponentName("com.mojang.minecraftpe",
"com.mojang.minecraftpe.MainMenuOptionsActivity");
intent.setComponent(cn);
intent.setAction(Intent.ACTION_MAIN);
startActivity(intent);
但我得到错误:
E/AndroidRuntime(22330): java.lang.SecurityException: Permission Denial: starting
Intent { act=android.intent.action.MAINcmp=com.mojang.minecraftpe/.MainMenuOptionsActivity
} from ProcessRecord{407b6928 22330:com.metalex.musicplayer/10073} (pid=22330, uid=10073)
requires null
请帮我!