【发布时间】:2016-10-19 20:54:55
【问题描述】:
我在清单中添加了两个 url 方案:
<intent-filter android:autoVerify="true"
android:label="@string/app_name">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="appinsider.mobile/"
android:scheme="http"/>
<data
android:host="appinsiderlink/"
android:scheme="http" />
</intent-filter>
但除了这些 URL,应用程序会打开所有以“http”开头的链接 如何只打开清单中声明的链接?
【问题讨论】:
标签: android url-scheme