Saturday, June 25, 2011

[android-developers] Re: Binding JavaScript code to Android code

I understand how to bind javascript to android code. what I'm looking
for is a way to call a javascript function from my native android
code.

On Jun 25, 11:36 am, Daniel Drummond <dmdrummo...@gmail.com> wrote:
> See the Webview sample in the SDK. I think that shows exactly what you want
> to do.
> On Jun 25, 2011 7:23 PM, "mikek" <mik...@gmail.com> wrote:
>
>
>
> > Is there a way to bind Android code to Javascript? For example, I'd
> > like to update a webview with accelerometer data without having to
> > poll the native app.
>
> > --
> > 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+unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

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

No comments:

Post a Comment