Rubicks wrote: > My activity has a webview . I will be leading some html pages on that > webview which includes some JavaScript functions. I have a need to > send some data from webview to my java application based on some user > actions using javaScript functions. Is it possible or how can I do > it?
You can try using WebView#addJavascriptInterface() to expose a Java object (via reflection, I assume) to your WebView under a JavaScript namespace. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.3 Published! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

