> Have you enabled Javascript in your WebView?
> *****NO - I just looked in your book & it says to"Control Javascript
> via setJavaScriptEnabled()
> (to disable it outright)" on page 167 - where does one do that? - our app
> has tons of Javascript! - I want to enable it, not disable it outright

It's disabled by default. A point which I should probably make a wee bit
more forcefully in my book...

Given a WebView named wv, to enable Javascript:

wv.getSettings().setJavaScriptEnabled(true);

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



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to