title: how does web view Load Html Content?
body: <p>I am getting this html content in Response via the variable: <code>String mresult=</code></p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
  &lt;title&gt;Lorem Ipsum&lt;/title&gt;
  &lt;/head&gt;
  &lt;body style="width:300px; color: #00000; "&gt;
  
  &lt;p&gt;&lt;strong&gt; About us&lt;/strong&gt; &lt;/p&gt;
  &lt;p&gt;&lt;strong&gt; Lorem Ipsum&lt;/strong&gt; is simply dummy text .&lt;/p&gt;
  
  &lt;p&gt;&lt;strong&gt; Lorem Ipsum&lt;/strong&gt; is simply dummy text &lt;/p&gt;
  
  &lt;p&gt;&lt;strong&gt; Lorem Ipsum&lt;/strong&gt; is simply dummy text &lt;/p&gt;
  
  &lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>It could not load in <code>webview</code>, I have to try to load it like this:</p>
  
  <pre><code>web.loadDataWithBaseURL(null, mresult, "text/html", "UTF-8", null);
  </code></pre>
  
  <p>still <code>webview</code> displays a Blank white page.</p>
  
  <p>In the <code>xml</code> file:</p>
  
  <pre><code>&lt;WebView
          android:id="@+id/wV"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"          
          android:layout_margin="10dp"
          android:background="@android:color/transparent"
          android:cacheColorHint="#00000000" /&gt;
  </code></pre>
  
  <p>In the Activity:</p>
  
  <pre><code>String mresult="Here my given data";
  WebView web = (WebView)findViewById(R.id.wV);
  web.setWebViewClient(new WebViewClient() {
      @Override
      public boolean shouldOverrideUrlLoading(WebView view, String url) {
          view.loadUrl(url);
          return true;
      }
  });
  web.loadData(mresult, "text/html; charset=UTF-8", null);
  </code></pre>