I am having trouble with WebViews. When I use mWebView.loadUrl("http://www.google.com");
It just shows a blank white page, but if I use mWebView.loadData("<html><body>This is working! WHY?!</body></html>", "text/html", "UTF-8"); it shows up. I have tried changing the size, but now I have it set to fill_parent for the width and the height. I've tried calling invalidate(), reload() and refreshDrawableState(). The code is really simple so I don't know what I'm doing wrong, here's what I have. @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); mURL = getIntent().getStringExtra("URL"); mName = getIntent().getStringExtra("Name"); setTitle(Name + " - Android"); mWebView = new WebView(this); mWebView.setPreferredWidth(LayoutParams.FILL_PARENT); mWebView.setPreferredHeight(LayoutParams.FILL_PARENT); mWebView.loadUrl("http://www.google.com"); setContentView(mWebView); } Any help would be appreciated. Casey --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---