views:

44

answers:

0

I'm using addJavascriptInterface within my Android application to allow JavaScript to invoke functions I've created in my native Java application.

This worked well in Android 2.1, however in Android 2.2 I receive the error message "Error calling method on NPObject!"

When I instrument the method call the internals of the native method are getting called, however the exception is being throw in JavaScript.