第一种:直接通过包名:
Intent LaunchIntent = getPackageManager().getLaunchIntentForPackage("com.joyodream.jiji");
startActivity(LaunchIntent);
第二种:通过自定义的Action
Intent intent = new Intent();
intent.setAction("com.joyodream.jiji.main");
MainActivity.this.startActivity(intent);
<intent-filter>
<action android:name="com.joyodream.jiji.main" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
第三种:通过Scheme
Intent intent = new Intent();
intent.setData(Uri.parse("joyodream://......"));
startActivity(intent);
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="joyodream" android:ssp="jiji" />
</intent-filter>