For now, the NFC tag data is in an intent's extras. Therefore you can't setup any other filtering in the manifest to only see certain discovered tags. I believe the expectation is that you'll only have one app on your device for dealing with NFC tags.
- dave On Feb 7, 4:09 pm, Mark Murphy <mmur...@commonsware.com> wrote: > Have you examined an Intent sent out when an NFC tag is encountered? > Perhaps the path is part of the Intent and can be filtered upon with > the <data> element in your <intent-filter>. > > Touchatag is sold out of their kits -- anyone know where else to get > some NFC tags? > > > > On Mon, Feb 7, 2011 at 4:03 PM, Mark Wyszomierski <mar...@gmail.com> wrote: > > Hi, > > > If I declare my application to be able to read NFC tags using the > > following: > > > <activity > > android:name=".activities.ActivityFoo" > > > <intent-filter> > > <action android:name="android.nfc.action.TAG_DISCOVERED"/> > > </intent-filter> > > </activity> > > > and the user chooses my app as the default for further reads, we're > > essentially wiping out the chance for any other app in the system to > > handle tag reading? > > > Just wondering how we'll balance this. My tags actually point to > > specific urls, like: > > > foo.com/a > > foo.com/b > > > So what would be more ideal is to let the OS give the user a chance to > > set a default for a tag read action + a specific url domain pattern > > for example. That seems more fine-grained and appropriate here? > > > Just wondering what others think on this, > > > Thanks > > > -- > > 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 > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 > Available! -- 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