Hi Dominik, Good question. We try to map TNF types to MIME types, since that is what our dispatch system uses. For example, Smart Poster is mapped to URL. However we do not yet have generalized mapping - for example for TNF_EXTERNAL_TYPE to a MIME type. This might be useful, feel free to make a proposal on [email protected] , or send patches to http://source.android.com.
For now just use a MIME in your tag payload. It's far more portable anyway. Nick On Tue, Mar 8, 2011 at 3:04 PM, Dominik <[email protected]> wrote: > I have defined an intent-filter for NDEF formatted tags as follows > > <intent-filter> > <action android:name="android.nfc.action.NDEF_DISCOVERED" /> > <data android:mimeType="text/*" /> > </intent-filter> > > With the data field, a mime-type can be specified. > > Is it also possible to add additional data to an NDEF intent filter > for NDEF tags which are not of type TNF_MIME_MEDIA? For example for > NDEF tags with a "well-known" type name format, i.e. a NDEF tag of > type TNF_WELL_KNOWN? > > Or for NDEF tags of type TNF_EXTERNAL_TYPE (i.e. NFC Forum external > type tags)? Here tye type has fhe form urn:nfc:ext:company.com:app (or > company.com:app for short) > > - Dominik > > -- > 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 > -- 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

