Hallo,

On Apr 6, 4:04 pm, colusan <colu...@gmail.com> wrote:
> Hi,
>
> I'm developing NFC applications for Android 2.3.3. Previously, I was
> programming Nokia JavaME NFC applications. For NFC Forum External Type
> (“urn:nfc:ext:example.com:example”) could use a method called
> "PushRegistry" to register the tag with the developed application, so
> reading it is automatically launched.

With 2.3.3 this type of automatic startup based on record data is only
available for URI records (also if they are packed into a Smart
Poster) and MIME type records. I.e. you can set up your app to listen
for a certain URI contained in a URI record or for a certain MIME
type.

> What is the best way to implement this functionality in the available
> API? From what I understand, when a tag is touched, system sends a
> broadcast message to all applications that support NFC. The idea is
> that a tag is matched to an application.

It's not a broadcast. Instead the system tries to find an app that
best fits the detected tag. If multiple apps fit, the user gets a
dialog to choose the app she wants.

br
Michael

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

Reply via email to