Hi Mark, Thank you very much for the explanation. We actually want the default NFC application to automatically download our app without them having to tap the entry in the "New tag collected". Maybe this is too much to ask, but we just want to make it easy for our user. Maybe this is more like a feature request.
Kind regards, Joshua. On Jun 14, 10:40 pm, Mark Murphy <[email protected]> wrote: > On Tue, Jun 14, 2011 at 8:32 AM, Joshua Partogi > > <[email protected]> wrote: > > Maybe this is more like a request than a question. Is it possible for > > the Tags application to automatically open a browser when the data > > inside the NFC tag is an URI type data? > > The standard Tags application, when it detects an NFC tag with an NDEF > record containing a URI, presently displays a "New tag collected" > activity. Tapping on the tag will then open the browser on the URL. > > > We are thinking to create a > > tag where our application will be automatically downloaded when user > > uses his/her phone to read this tag. > > If the URL is a market:// URL, once the user taps the entry in the > "New tag collected" activity, that should open up the Market app. It > is possible that the Market app has an Intent filter that will get > control first, avoiding the Tags application -- I haven't tried that > yet. > > If the URL is a URL to someplace else (e.g., your APK on your own Web > site), then once the user taps the entry in the "New tag collected" > activity, it should behave just as if the user had clicked on a link > on a Web page in their device pointing to the same URL. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android Training in NYC:http://marakana.com/training/android/ -- 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

