No Internet Access from WebView android 2.1 whereas normal browser does work
<p>I have put in manifest</p>

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

<p>but I think it doesn't work for android 2.1 what should I put then ?</p>

<p>Source code is just the official tutorial from Google <a href="http://developer.android.com/resources/tutorials/views/hello-webview.html" rel="nofollow">http://developer.android.com/resources/tutorials/views/hello-webview.html</a>.</p>

<pre><code>import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;

public class WebViewActivity extends Activity {

    WebView webview;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        webview = (WebView) findViewById(R.id.webview);
        webview.getSettings().setJavaScriptEnabled(true);
        webview.loadUrl("http://google.com");        
    }
}
</code></pre>
