Did you enable JavaScript for your WebView?

http://developer.android.com/reference/android/webkit/WebSettings.html#setJavaScriptEnabled(boolean)

-- Kostya

07.01.2011 16:19, sukumar bhashyam ?????:
hi,

My app, which uses "webview" shows "google.com <http://google.com>" as default page. I'm not able to select the "Search" button after entering some text in google's page search editor. ADB logs is showing below errors. The same use-case works fine with default browser. I could verify the urls & user-agent launched/sent by Browser and my app are same.

I enabled "setJavaScriptEnabled" to true. Any Idea why does google.com <http://google.com> doesn't work properly in my App. Am I missing any settings here?. I'm also attaching the google page loaded by my app for reference. Thanks.


01-07 18:23:32.647: ERROR/Web Console(2545): Uncaught TypeError: Cannot call method 'getItem' of null at http://www.google.co.in/:296 01-07 18:23:49.006: ERROR/dalvikvm(3091): could not disable core file generation for pid 3091, errno=1 01-07 18:23:49.186: ERROR/GlobalUnplugService(3091): plugged = true,mBatteryPlugged=false 01-07 17:08:04.285: ERROR/ThrottleService(1343): Could not open GPS configuration file /etc/gps.conf 01-07 17:08:04.613: ERROR/NetworkManagmentService(1343): Unexpected response code 600 01-07 18:23:16.944: ERROR/Web Console(2545): Uncaught TypeError: Cannot call method 'getItem' of null at http://www.google.co.in/:258 01-07 18:23:16.967: ERROR/Web Console(2545): Uncaught TypeError: Cannot call method 'getItem' of null at http://www.google.co.in/:282 01-07 18:23:18.006: ERROR/Web Console(2545): Uncaught TypeError: Cannot call method 'getItem' of null at http://www.google.co.in/:31 01-07 18:23:32.647: ERROR/Web Console(2545): Uncaught TypeError: Cannot call method 'getItem' of null at http://www.google.co.in/:296 01-07 18:23:49.006: ERROR/dalvikvm(3091): could not disable core file generation for pid 3091, errno=1
--
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to