Hallo,

since Android 2.3.3 the tag dispatching mechanism has changed to allow
more complex NFC use-cases. While the demo application should still
work if no other app picks up the tag, the pre-install "Tags"
application will already pick up most (if not all) tags with higher
priority. See http://developer.android.com/reference/android/nfc/Tag.html
for the priority of Tag dispatching mechanisms.

So you should use at least ACTION_TECH_DISCOVERED. To follow the NFC-
idea of dispatching applications, it would be even better to base your
application on NDEF messages and trigger your application only for
your specific NDEF record types.

br,
Michael


On Mar 4, 5:13 pm, k2k <[email protected]> wrote:
> Hi all,
> I was testing the nfc demo application.
> It works fine with emulator broadcasting tags.
> When broadcast a dialog box shown to choose the app.
> After that I remove the fakeTags part and install the application to
> the device.
>
> Now I am running with real tag. This time my program not start when a
> tag is detect.
>
> Is there anything else I need to do with sample program.
>
> regards
> KK

-- 
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