Hi, Thanks for your response.
As far as I know, using techfiltering I can filter all the tags that are ndef enabled. However, I cannot filter message types like text, smart poster, ... or tnf types. If I am wrong please let me know and tell me where can I take a look to learn how to use the techlists for filtering. Regards, Gorka. On 3 mayo, 10:16, pubu he <pubu...@gmail.com> wrote: > Have you tried to use techlist for filtering? I think it should work now. > > > > > > > > On Mon, May 2, 2011 at 6:23 PM, Gorka <gork...@gmail.com> wrote: > > Hi, > > > I am trying to work with NDEF and external message types. > > > I have defined my NDEF message as you can see there: > > "urn:nfc:ext:busInfo.company.com". I can see the message is correct > > using some applications I have instaled in my PC. > > > When the Nexus detects the tag, I select the tagReader application and > > it says the tag format is unknown, what I guess is correct. If I > > choose my application, I use the getTNF and getID methods and I see > > ExternalType and my company name, so it is working great. > > > What I want to do is to filter the application to be opened using the > > NDEF message type. Rigth now I can filter text messages as I defined > > in the documentation: > > > <intent-filter> > > <action android:name="android.nfc.action.NDEF_DISCOVERED"/ > > > <data android:mimeType="text/*" /> > > > <category > > android:name="android.intent.category.DEFAULT"/> > > </intent-filter> --> > > > I would like to do something similar for unknown message type and > > filter the application to be opened directly in my Manifest file. I > > mean, change the data android:mimeType by something where I would set > > the ID of my company, so that it would be opened without having to > > select it from the dispatcher. Is that possible¿¿ > > > By the way, I cannot filter smartposter and URI NDEF message types. > > Could someone tell me how to do this?? > > > Thanks a lot, > > Gorka. > > > -- > > 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 -- 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