title: Load the image saved in sdcard in webview
body: <p>The below code is used</p>
  
  <pre><code>mWebView = (WebView) findViewById(R.id.webview);
  mWebView.getSettings().setAllowFileAccess(true);
  mWebView.getSettings().setJavaScriptEnabled(true);
  String base = Environment.getExternalStorageDirectory().getAbsolutePath().toString();
  String imagePath = base + "/test.jpg";  
  mWebView.loadUrl(imagePath);
  </code></pre>
  
  <p>the image is not loading ... </p>
  
  <p>also tried</p>
  
  <pre><code>mWebView = (WebView) findViewById(R.id.webview);
  mWebView.getSettings().setAllowFileAccess(true);
  mWebView.getSettings().setJavaScriptEnabled(true);
  mWebView.getSettings().setBuiltInZoomControls(true);
  String base = Environment.getExternalStorageDirectory().getAbsolutePath().toString();
  String imagePath = base + "/test.jpg";
  String html = "&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;img src=\""+ imagePath + "\"&gt;&lt;/body&gt;&lt;/html&gt;";
  mWebView.loadData(html, "text/html","utf-8");
  </code></pre>
  
  <p>Please help</p>