You only have the types that are available in JavaScript, and then you
have to play games with strings to keep from crashing.

JavaScript:

        var data = null ;

        // Read the data from the app...

        data = webViewClass.readData() ;

        // Transform into a JavaScript string - bad thing!...

        data = data + "" ;

in the app:

        public class webViewClass {

                // Pass Data to webview...

                public String readData() {
                        String data = "Some string" ;
                        return (data) ;
                }
        }


I haven't tested array types but I'm guessing they aren't supported.
If you find out differently, please post back.

-John Coryat

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

Reply via email to