title: Image not getting displayed inside webview in Android 3.0?
body: <p>I am using the following code to display an image of more than 1,000x1,000, stored in the assets folder of my project. To enable zoom controls on it, I want to display it in a WebView.</p>
  
  <p>My code:</p>
  
  <pre><code>public class ImageActivity extends Activity {
    String html_data;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
      loadHTML();
    }
    public void loadHTML() {
      final String mimeType = "text/html";
      final String encoding = "utf-8";
      final String html = "&lt;h1&gt;Header&lt;/h1&gt;&lt;p&gt;Custom HTML&lt;/p&gt;&lt;p&gt;&lt;img src=\\"
        + "file:///android_asset/africa.png\\/&gt;&lt;/p&gt;";
      WebView wv = (WebView) findViewById(R.id.mapview);
      wv.loadDataWithBaseURL("fake://not/needed", html, mimeType, encoding,"");
    }
  }
  </code></pre>
  
  <p>And my XML code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"&gt;
  &lt;WebView
    android:id="@+id/mapview"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:gravity="center" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Thanks in advance.</p>