AFAIK, addJavascriptInterface()
only works with primitive types and Strings, and so you cannot pass arbitrary Javascript objects.
More Related Contents:
- How to call javascript from Android?
- How to execute JavaScript on Android?
- What is the equivalent to a JavaScript setInterval/setTimeout in Android/Java?
- Understanding Android’s webview addjavascriptinterface
- Android WebView always returns null for javascript getElementById on loadUrl
- Android flashlight app using camera api 2 [closed]
- How to work with xml and java (android) [closed]
- Is it possible to use Java 8 for Android development?
- How can I implement custom Action Bar with custom buttons in Android?
- Paginating text in Android
- Secure HTTP Post in Android
- Android “gps requires ACCESS_FINE_LOCATION” error, even though my manifest file contains this
- What do I use now that Handler() is deprecated?
- Hosting an executable within Android application
- calling a java servlet from javascript [duplicate]
- how to save bitmap to android gallery
- What is the easiest way to get the current day of the week in Android?
- Android HttpPost: how to get the result
- Android and getting a view with id cast as a string
- Calculating the angle between a line and the x-axis
- App crashing when trying to use RecyclerView on android 5.0
- Resources.openRawResource() issue Android
- Android : save a Bitmap to bmp file format
- How can I check available space on an Android device? On an SD card? [duplicate]
- Android View Disappearing When Go Outside Of Parent
- How to disable spelling corrections programmatically in Android
- ArrayList not updating inside onChildAdded function
- Why declare a function argument to be final?
- How do I access Android’s default beep sound?
- Fatal Exception: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 6: TypedValue{t=0x2/d=0x101009b a=1}