I’m new to Cocos2d-X C++ programming. Now I’m in a situation that i have to make communication with the java classes to implement the AI for my game.
But I don’t understand the JNI concept at all. I’ve searched all over the internet and our forum. But couldn’t even get a single clue to solve my problem.
I’ve tried this tutorial too.
So point me to some tutorial or sample code will be much appreciated.
Thanks in advance.