title: Error displaying web page on a web view in android app
body: <p>I am adding a web view with URL <a href="http://www.google.com" rel="nofollow">http://www.google.com</a> into a FrameLayout. I am not able to view the web page in the web view and get error message "net::ERR_NAME_NOT_RESOLVED". In other case if I try to access a web page hosted locally <code>http://localhost:9080/mobApp/aboutUs.html</code> it is giving error message "net::ERR_CONNETION_REFUSED". I am not able to make out what is the error or things I had done wrong. I also added the permission(<code>&lt;uses-permission android:name="android.permission.INTERNET"&gt;&lt;/uses-permission&gt;</code>) in AndroidManifest.xml file to provide internet permissions to my app.  Code is as follows:</p>
  
  <pre><code>String url = "http://localhost:9080/mobApp/aboutUs.html";
  aboutUsWebView.loadUrl(url);
  FrameLayout contentLayout = (FrameLayout)findViewById(R.id.container);
  if(contentLayout != null)
                  contentLayout.addView(aboutUsWebView);
  </code></pre>
  
  <p>I actually want to access web app hosted locally!</p>