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
tree: d3ebef077f35bfeec1e97aac2e7bc996198519be
  1. jni/
  2. res/
  3. src/
  4. Android.mk
  5. AndroidManifest.xml
  6. CleanSpec.mk
  7. migrate_nfc.txt