Monday, July 16, 2012

[android-developers] Re: WebView / JavaScriptInterface / String []

If you need to return something more complex, you could always generate a serialized JSON data structure from JS using your favorite library, return it as a string, and then parse the results using Android's JSONObject.

Doug

On Friday, July 13, 2012 6:46:57 AM UTC-7, Pent wrote:
I thought that might turn out to be necessary, thanks for confirming.

Pent

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