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>