Read pdf file from sd-card with the help of webview
<p>Is it possible to read pdf file stored in my sd card to view in web view.
I tried using</p>

<pre><code>            WebView webview = new WebView(myactivity.this);
            webview.getSettings().setJavaScriptEnabled(true); 

            File file = new File(Environment.getExternalStorageDirectory()
                    + "/pdf" + "/ypc.pdf");

            Uri uri = Uri.fromFile(file);
            webview.loadUrl(uri.toString());
</code></pre>

<p>but got no results,. is any other way possible</p>
