Intent用法
1.显示Intent
2.隐式Intent
- 启动活动
       <activity>
                android:name=".SecondActivity"
                android:exported="true">
            <intent-filter>
      <!--      自动添加到隐式intent-->
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="com.example.activitytest.MY_CATEGORY"/>
                <action android:name="com.example.activitytest.ACTION_START"/>
            </intent-filter>
      </activity>
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/272042.html
