Wednesday, November 30, 2011

[android-developers] Re: NFC App self-launched

Hallo,

> <intent-filter>
>   <action android:name="android.nfc.action.TECH_DISCOVERED"/>
> </intent-filter>
> <meta-data android:name="android.nfc.action.TECH_DISCOVERED"
>           android:resource="@xml/tecnologia" />
>         </activity>
>
> I thought that a TECH_DISCOVERED launch my application but it does not

Have you correctly setup your tecnologia XML file?

For instance if youz want to trigger on type A tags, your XML file
would look like this:
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<tech-list>
<tech>android.nfc.tech.NfcA</tech>
</tech-list>
</resources>

br,
Michael

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate