Hi,
You can check
"Binding JavaScript code to Android code" in Android documentation.
After Binding you can call Javascript function from Android code and
vice versa.

On Dec 9, 2:26 pm, cuil yahoo <cuilya...@gmail.com> wrote:
> Hey,
>
> We have an application written in Javascript. We want to port it to android
> .We are using webview and webviewclient to load a url which is the index
> html for that javascript application. To save data  we need to  call a
> Javascript function that returns a value and we need to store that value in
> Java in Android.
>
> Could you please provide some pointers on its implementation ?
>
> We tried using addjavascriptinterface() but it does not return a value.
>
> Thank You
>
> Cuil

-- 
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