Hi there,
I've discovered a strange behaviour in Android Ice Cream Sandwich.
Previously a discovery of an NFC tag containing URL was passing
through the intent-filter and showing possible applications for
handling this content.

In ICS 4.0.3 URI's are handled directly in the browser and intent-
filters seem to be ignored

There's a possibility of adding Android Application Record (AAR) to
the NdefMessage (i.e. as a second record) which is pushed to the
device or written to a tag, but there are some problems associated
with this solution.

1) When application is started through AAR, it is done by the
action.MAIN not the NDEF_DISCOVERED
2) When application is not installed, user is forced to go to the
market, no option to just view the URI without installing the app

So the question are:
- how to handle NDEF_DISCOVERED when the my app is _not_ in the
foreground?
- how to give the user a choice to install the app (defined in AAR) or
just open the link? (other NFC-enabled devices will just open the
link)

Thanks,
Krzysztof

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

Reply via email to