Greetings Marc,

It works fine when I run your application and click on the link on the
commons ware sample page.

The problem becomes more subtle, when you post this link to face book
and users pressing that link from the mobile browser will not show you
application as part of intent chooser.

Think that I have posted a link on to facebook like "please click the
link http://www.this-so-does-not-exist.com";. Open facebook from mobile
android browser ( not from native application) and click the link in
published post. The android does not show intent choser and redirects
to http://www.this-so-does-not-exist.com"; and results in web page not
found.

why this works different, in different scenarios.

please enlighten me.

Thanks,
Arjun.




On Dec 10, 11:06 am, Mark Murphy <mmur...@commonsware.com> wrote:
> Make sure you have the BROWSABLE category in your <intent-filter>. See
> here for some samples:
>
> https://github.com/commonsguy/cw-advandroid/tree/master/Introspection...
>
>
>
> On Fri, Dec 10, 2010 at 12:56 PM, Arjun <arjunf...@gmail.com> wrote:
> > Greetings,
>
> > how to invoke application when user presses a link while he is
> > browsing.
>
> > For example: whenever user clicks onhttp://microsoft.comI want to
> > launch my application.
>
> > I have a intent filter with the following data scheme
>
> > <data scheme:http android:host:microsoft.com />, this is not
> > redirecting to my applications, instead browser navigates to microsoft
> > homepage.
>
> > please suggest.
>
> > Thanks,
> > Arjun.
>
> > --
> > 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
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books

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