read local pdf through webview
<p>I am doing one application to read pdf from sdcard through webview. I used the following code.</p>

<pre><code> webview = (WebView) findViewById(R.id.webview);
    webview.getSettings().setJavaScriptEnabled(true);
    webview.setWebViewClient(new HelloWebViewClient());
    File file = new File(Environment.getExternalStorageDirectory()
            + "/MotoronAug.pdf");
    Uri uri = Uri.fromFile(file);
    webview.loadUrl(uri.toString());
</code></pre>

<p>but i got a blank page. But when i give a web address </p>

<pre><code>webview.loadUrl("http://docs.google.com/viewer?url=http%3A%2F%2Fresearch.google.com%2Farchive%2Fbigtable-osdi06.pdf");
</code></pre>

<p>I can read it from webview what is the problem in my code?...I have MotoronAug.pdf file in my sdcard.Help me friends</p>
