yes you can. use your own mimeType and then the intent filter: <intent-filter> <action android:name="android.nfc.action.NDEF_DISCOVERED"/> <data android:mimeType="mime/type" /> </intent-filter>
ass well in the forgroundDispatch you can define for which mime type to listen. On May 5, 2:13 am, Troy Steinbauer <troysteinba...@gmail.com> wrote: > I am writing an app that will use the P2P part of the NFC package, and I > would like no other android app possibly handel the intent generated from my > tag being pushed. I want to prevent the Application Chooser from being > launched. But if a user has an app that attempts to catch all tags (like a > generic tag reader app), then it will show the Application Chooser. > > Can I use 'android.nfc.action.NDEF_DISCOVERED' with a unique data field for > my application only? > > or > > Can I use 'android.nfc.action.TECH_DISCOVERED' with a custom Tech inside the > tech-list? -- 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