Webview: Cannot display local image on phone but displays on emulator
<p>I have went through all the posts on displaying local images on android phone. I can see the local image on emulator but on phone - "Webpage not available". However I can load other webpages on phone with webView.loadUrl("http://www.google.com/");</p>

<p>I have set internet permissions</p>

<pre><code>&lt;uses-permission android:name="android.permission.INTERNET"/&gt;
</code></pre>

<p>The image is in raw folder and using display.html file to read it</p>

<pre><code>WebView webView = (WebView) findViewById(R.id.webview);
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setPluginsEnabled(true);
webView.loadUrl("file:///android_res/raw/display.html");
</code></pre>

<p>// display.html in raw folder</p>

<pre><code>&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;&lt;/title&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;img src="file:///android_res/raw/image.jpg" width="50px" alt="Hello"&gt;
  &lt;/body&gt;
&lt;/html&gt;
</code></pre>
