<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>