I’ve been trying to implement ChartBoost, a purely Java based JAR Library, into Cocos2d-x.
My understanding of the framework (I am still inexperienced) is that all scenes and states for this game are coded in C*+ - meaning if I wanted to invoke an Ad at the Pause Screen, Start Menu or after level 1, I would need to use the JNI system, and call my Java method into C*+ correct?
If not, let me know and make my life easy _
If so, is there a function within Cocos to implement a Java class while passing the custom variable (ex ChartBoost CBoost; -> pass the CBoost) and invoke not only the class, but also the custom libraries from the ChartBoost SDK. Or will I have to create a separate JavaVM and Pointer and start from scratch?
Thanks so much for the response!