Hi,

i have a question about NFC and Android, some general points. I have
an Android-Application and now this Application gets some new
Extension(NFC). For this, my first step was to declare the manifest
elements and all standard methods ( described here
http://developer.android.com/guide/topics/nfc/index.html).

Currently i have some Tags and a Reader (TouchATag). After i apply
some URL's to the Tags, the Nexus S can read these Tags and starts the
default Tag-App.

For now, i've defined all necessary elements in the manifest:

- Use-Permission for NFC
- MinSdkVersion = 10
- Uses-Feature
And Tech_Discovered:
<intent-filter>
 <action android:name="android.nfc.action.TECH_DISCOVERED">
<meta-data android:name="android.nfc.action.TECH_DISCOVERED"
android:resource="@xml/nfc_tech_filter" />
</action></intent-filter>

My first question is: Are this definitions enough to get the App shown
in the TechListOverView? Because if get a Tag in the near of the nexus
s, it starts the Tags-App automatically without any question about my
App.

In the XML-File i declare every TagTechnology.

At the DDMS i saw this information:

"05-12 14:18:36.613: INFO/ActivityManager(107): Starting: Intent
{ act=android.nfc.action.NDEF_DISCOVERED dat=http://www.ttag.be/m/
048A8FBA342380 flg=0x10000000 (has extras) } from pid 9513
05-12 14:18:36.632: INFO/ActivityManager(107): Starting: Intent
{ flg=0x10000000 cmp=com.android.nfc/.TechListChooserActivity (has
extras) } from pid 9513 "

Furthermore i have the foreground dispatch paradigm implemented in the
application.

Is there anything i need to add? At this point i want to "register" my
application to get it at the TechList...


kd

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

Reply via email to