I want to launch a specif application.
I know how to do Intents but I want to avoid the selection menu if there are multiple apps that can handle the intent, I want
Launch app using Intent with ComponentName
ComponentName cName = new ComponentName("packageName","packagename.yourMainActivity"); Intent intent = new Intent("android.intent.action.MAIN"); intent.setComponent(cName); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); mContext.startActivity(intent);