Intent intent = new Intent();
intent.setClassName(“com.linxcool”,”com.linxcool.PlaneActivity”);
startActivity(intent);
Intent intent = new Intent();
ComponentName comp = new ComponentName(“com.linxcool”,”com.linxcool.PanelActivity”);
intent.setComponent(comp);
intent.setAction(“android.intent.action.MAIN”);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
context.startActivity(context.getPackageManager().getLaunchIntentForPackage(APP_PACKAGE_NAME));
原创文章,作者:3628473679,如若转载,请注明出处:https://blog.ytso.com/272887.html