We develop the product, a part of the function, you need to open the Web page in WebView, and then in the Web page through the JS method callback part of the native function.
For the web callback native development method, if you do not understand, you can refer to my previous post, "Android WebView using custom JavaScript for callback" http://blog.csdn.net/arui319/ article/details/7044638
Recent tests have found that on some of the newest models (4.2 and above), JS callbacks don't seem to work. Open log, prompting Uncaught Typeerror:object [Object Object] has no method ' xxx '. where xxx is the Web page written in the JS method name.
Careful study, found that because the Android4.2 and the above version of the JS support mode has been changed (and a new version caused by incompatible events, more recently this kind of thing more and more). Specifically, please see the following article, written in very detailed, there is no need to write again, please refer directly to it. http://blog.csdn.net/zgjxwl/article/details/9627685
Record in this, convenient for users to inquire.
[Android] Web console:uncaught Typeerror:object [Object Object] has no method ' xxx '