网页调用外部APP

时间:2023-11-25 14:16:26
<activity
android:name=".MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.DEFAULT" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="cn.jsonlu.aidl.server"
android:scheme="open" />
</intent-filter>
</activity>
<a href="open://cn.jsonlu.aidl.server">打开APP</a>