WebView not working in Android Emulator
<p>I have created one android project with simple web view.</p>

<p>I am trying to open google. But the emulator screen is saying Google not available.</p>

<p>I have added Internet permission in the manifest file. Even I am able to access google from Emulator browser. Only in the application, I am not able access. Nothing is printed in the log also.</p>

<p>Please help.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;WebView  xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/webview"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
/&gt;


public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    mWebView = (WebView) findViewById(R.id.webview);
    mWebView.getSettings().setJavaScriptEnabled(true);
    mWebView.loadUrl("http://www.google.com");
    mWebView.setWebViewClient(new HelloWebViewClient());
}


private class HelloWebViewClient extends WebViewClient {
    @Override
    public boolean shouldOverrideUrlLoading(WebView view, String url) {
    view.loadUrl(url);
    return true;
    }
}


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