Webview loadurl issue : I had created one activity along with webview and loaded some url in it.But when i loaded google url in webview it opens in device browser but when i loaded some other urls in it,it works fine for me.

Permission added in manifest -

For ex -

This is open in device browser

WebSettings webSettings = webVw.getSettings(); webSettings.setJavaScriptEnabled(true); webVw.loadUrl("http://www.google.com");

This is opens in webview -

webVw = (WebView)findViewById(R.id.webVw); WebSettings webSettings = webVw.getSettings(); webSettings.setJavaScriptEnabled(true); webVw.loadUrl("https://stackoverflow.com");

Why this happens?Is there any other workaround to do it?