1、AndroidManifest.xml
<activity android:name="com.example..ActionsActivity"> <intent-filter> <action android:name="android.intent.action.patientIf"/> <category android:name="android.intent.category.DEFAULT"/> </intent-filter> </activity>
2、interface
Intent intent = new Intent(); intent.setAction("android.intent.action.patientIf"); activity.startActivity(intent);