I try to load the Google Map Url in a WebView with the following code:

String url = "http://maps.google.com";;


WebView webview = (WebView) findViewById(R.id.webview);

//webview settings
webview.setPadding(0, 0, 0, 0);
WebSettings webSettings = webview.getSettings();
webSettings.setJavaScriptEnabled(true);
webview.setWebViewClient(new WebViewClient());
webview.loadUrl(url);


and it cannot be loaded (blank).

But the other urls (e.g. http://www.google.com) can be loaded without any 
problem.


Please help !

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/e62639b4-4596-4043-8bf6-526a8c475c2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to