I am working on an Android project using C++ for the main development and I am trying to implement OpenFeint. I need to call several non-static Java methods and instantiate a couple of classes in my C++ code, and for that I need to learn how to properly use JNI functions.
Where can I find some comprehensive documentation or tutorial on the matter? What I have found so far in Sun’s site is incomplete or lackluster, and does not even have the class-method reference.
I have always found the JNI Programmer’s guide to be very useful.
Other than that if you post your questions more directly am sure SO will help.
And specifically this section might help