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:

AndroidJS.populateField (field); On the Java side, the function does not accept parameters:

public void populateField () {}

Just the Java function is allowed to accept a parameter for me to solve this error.

Example, public void populateField (string field) {} ​​

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! :)


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -