PDF opening inside a Current WebView Page
<p>My application current view is In web view..inside which if user clicks on a pdf link.it should get installed on sd card and then available options for viewing must be shown ..if no Viewer available then a message should be shown</p>

<pre><code>protected void onStart() 
{ 
      super.onStart(); 
      myWebView.loadUrl("URl"); 
      myWebView.setWebViewClient(
      new WebViewClient()
      { 
            public boolean shouldOverrideUrlLoading(WebView view, String url) { 

            if (url.endsWith("pdf"))
            { 
               // do eet return true; } return false; 
       } }); 

       myWebView.getSettings().setJavaScriptEnabled(true);
       /*WebSettings webSettings = myWebView.getSettings();               \
       webSettings.setBuiltInZoomControls(true); webSettings.setSupportZoom(true);*/
       } 
</code></pre>
