Add support for TNF_EXTERNAL in NDEF_DISCOVERED intents.
The URN is converted to a URL in the form:
vnd.android.nfc://ext/<domain_name>:<service_name>
so that it can be processed by IntentFilter. For example to
catch all TNF_EXTERNAL entries for example.com you would use
the following in your manifest:
<intent-filter>
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="vnd.android.nfc"
android:host="ext"
android:pathPrefix="/example.com:" />
</intent-filter>
Change-Id: I5f5b121aa217364611923113985261a5c9a2171e
1 file changed