Gotcha - so in other words I can display the local html via the Webview (controlled within an activity). But other than this or using Rhino to embed javascript engines within java code, there is no other way to execute a javascript within an html page on Android right?
On Jul 12, 3:21 pm, Mark Murphy <[email protected]> wrote: > On Mon, Jul 12, 2010 at 3:10 PM, kypriakos <[email protected]> wrote: > > Instead of launching a UI I was wondering if I could have a process > > monitor > > the execution of a javascript in the emulator's browser and read in > > the output > > data. Is it possible to execute a local javascript file using the > > phone's browser? > > You can use WebView, but only from an Activity. > > If you want to embed a Javascript interpreter, you can consider Rhino. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android App Developer Books:http://commonsware.com/books -- 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

