WebView should be asking the system to open any links by default
anyway. A normal URL should open the Browser app, a market URL should
open the Market app, provided you are testing on a phone with the
Market app installed.

Are you sure the phone you are testing on has the Market app
installed? If so, are you sure you aren't calling setWebViewClient
with something that overrides shouldOverrideUrlLoading to have some
alternative behavior, like to load all URLs in the WebView?

If you are doing the later, it is pretty trivial to check if the URL
passed to that method starts with the market protocol, and just
startActivity for an ACTION_VIEW intent for that URL instead of
loading it in the WebView.

On Aug 28, 6:01 am, jgclifton <jgclif...@gmail.com> wrote:
> Hi guys.I've created a web view app, the page that is displayed
> featuresmarket:// links but upon clicking them I get the 404 screen
> along with the error that the protocol is not supported. I've tried
> looking through documentation but was unable to find anything relating
> to this. Any help is much appreciated.

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