安卓系统可使手机识别当前应用程序为浏览器类型的应用程序
最编程
2024-04-11 20:09:52
...
<activity android:name=".ui.MainActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="http"/>
<data android:scheme="https"/>
<data android:scheme="about"/>
<data android:scheme="javascript"/>
</intent-filter>
</activity>