要这么写
<intent-filter tools:ignore="AppLinkUrlError">
<category android:name="android.intent.category.BROWSABLE" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data
android:host="com.nide.baoming"
android:pathPattern="/product"
android:scheme="abc" />
</intent-filter>
这样写了之后在网页中加入一个调转到a'p'p超链接按钮。就可以了。
<a href="abc://com.nide.baoming" >jump</a>
在UC 上测试是好的。
网友评论