使用URL打开应用程序时阻止应用程序选择器

时间:2015-02-04 09:25:54

标签: android url

在尝试使用URL打开应用程序时,有没有办法阻止应用程序选择器打开?我的意图过滤器目前看起来像这样:

        <intent-filter>
            <action android:name="android.intent.action.VIEW"></action>
            <category android:name="android.intent.category.DEFAULT"></category>
            <category android:name="android.intent.category.BROWSABLE"></category>
            <data android:host="SITE_URL" android:scheme="https"></data>
        </intent-filter>

这会在尝试访问特定URL时显示应用程序选择器,但是还有其他方法可以立即打开应用程序吗?

0 个答案:

没有答案