Error calling method on NPObject! in Android 2.2 -
I am using the JavaScript interface inside my Android application so that JavaScript works on my Java Java application To invite. / P>
It works well in Android 2.1, however, in Android 2.2, I'm calling the error message "Call to NPObject!"
Calling the method when I call the basic method of internal calling, though the exception is throwing in javascript.
I get this exact error:
Uncheck error: Error in calling method on NPObject!
Exits I was trying to do this with a JavaScript interface function from the web server:
Just the Java function is allowed to accept a parameter for me to solve this error. Example, This is probably not possible, and possibly, due to only one reason throw this error May be. This is the only way to solve my specific scenario, hope it will help! :) AndroidJS.populateField (field); On the Java side, the function does not accept parameters:
public void populateField () {}
public void populateField (string field) {}
Comments
Post a Comment