the pre-installed Tags aplication defines the following intents:

    <intent-filter>
       <action android:name="android.nfc.action.TAG_DISCOVERED"/>
       <category android:name="android.intent.category.DEFAULT"/>
    </intent-filter>

    <!-- Offer to display anything with NDEF data -->
    <intent-filter>
       <action android:name="android.nfc.action.TECH_DISCOVERED"/>
    </intent-filter>

    <meta-data android:name="android.nfc.action.TECH_DISCOVERED"
        android:resource="@xml/filter_nfc"
    />

with

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
    <!-- capture anything containing NDEF -->
    <tech-list>
        <tech>android.nfc.tech.Ndef</tech>
    </tech-list>
</resources>

so the TagViewer application will not be started if an Ndef Tag is
discovered.

Dominik

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to