title: Cant load Webview containing PDF documents, flash files converted into HTML5 android
body: <p>im trying to display PDF files in webview. im trying to load PDF via HTML5.
  here is my source code:</p>
  
  <p>WebView webview;</p>
  
  <pre><code>@Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
      webview = (WebView) findViewById(R.id.webview);
      webview.getSettings().setJavaScriptEnabled(true);
      webview.setWebViewClient(new HelloWebViewClient()); 
      webview.loadUrl("file:///android_asset/www/test.pdf");
      WebSettings settings = webview.getSettings();
      settings.setJavaScriptEnabled(true);
      settings.setDatabaseEnabled(true);
      String databasePath = this.getApplicationContext()
              .getDir("database", Context.MODE_PRIVATE).getPath();
      settings.setDatabasePath(databasePath);
      webview.setWebChromeClient(new WebChromeClient());
  }
  
  private class HelloWebViewClient extends WebViewClient {
      @Override
      public boolean shouldOverrideUrlLoading(WebView view, String url) {
          view.loadUrl(url);
          return true;
      }
  }
  </code></pre>
  
  <p>Any help will b greatly appreciated.
  Thanks in advance.</p>