0
我正在写一个URL到某个NFC标签以进行意图过滤主机名 - 如果安装了应用程序,请启动该应用程序,或者在未安装该应用程序的情况下提供一个链接到google-play。不幸的是只有浏览器出现:通过NFC上的URL启动Android应用程序标签
<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="example.com" android:scheme="http" />
</intent-filter>