jj wrote:
> Hi all
> I am trying to open a web page using webKit
> 
> I am doing this
> 
> WebView myWeb = new WebView(this);
> myWeb.loadUrl("http://www.google.com";);
> setContentView(myWeb);
> 
> but I cannot see anything
> 
> please, can anybody tell me what I am missing?

Google's home page requires Javascript, and Javascript is disabled by
default.

getSettings().setJavaScriptEnabled(true); on your WebView should clear
up your problem.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to