Add a client to the web view
package app.test; import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; import android.webkit.WebViewClient; public class Test extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); WebView webview = new WebView(this); webview.getSettings().setJavaScriptEnabled(true); // webview.setWebViewClient(new WebViewClient()); webview.loadUrl("http://www.google.com"); setContentView(webview); } }