webview never call ShuldOverrideUrlloading in webviewclient in android
<p>I have a webview and a link on the URL that I have loaded on that webview, I want such like that if user clicks in this link the app will go to the background and open that link with the default web browser of that device. To do this I have done the following:</p>

<pre><code>web = (WebView) findViewById(R.id.webview01);
        progressBar = (ProgressBar) findViewById(R.id.progressBar1);


        web.getSettings().setUseWideViewPort(true);

        web.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY);
        web.getSettings().setPluginState(PluginState.ON);
        web.getSettings().setJavaScriptEnabled(true);
        web.getSettings().setDomStorageEnabled(true);

        web.setWebViewClient(new WebViewClient() {
            public boolean shouldOverrideUrlLoading(WebView view, String url) {
                if (url != null
                        &amp;&amp; url.startsWith("http://the6figuremarketer.com/apps/androidfb21/thks.html")) {
                    view.getContext().startActivity(
                            new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
                    return true;
                } else {
                    return false;
                }
            }
        });

        web.loadUrl("http://the6figuremarketer.com/apps/androidfb21/index.html");
</code></pre>

<p>but I figured out that the <code>shouldoverrideurl</code> method is nevet get called. what should I do now? can anyone help?</p>
