显示启动
startAction(new Intent(当前.this,目标类.class))
隐式启动
<intent-filter>标签中的<action android:name=“com.example.studyhomework.intent.action.XXX” /> 所在的 Activity,注意这里都要设置 <category android:name="android.intent.category.DEFAULT" />
startAction(new Intent(“action android:name=“com.example.studyhomework.intent.action.XXX“))
如果在<intent-filter>中设置了
<data android:scheme="http"startAction(new Intent(“action android:name=“com.example.studyhomework.intent.action.XXX“,Uri.parse(http://xxx)))则为启动特定的这个