When I add this part of the code the application is closed, the code works because I have it in another application which can be the error
WebView view = (WebView) this .findViewById (R.id.webView);
view.getSettings (). setJavaScriptEnabled (true);
view.setWebViewClient (new MyBrowser ());
view.loadUrl ("http://www.google.es");
view.getSettings().setBuiltInZoomControls(true);
view.setInitialScale(80);