How to transform information to Cocos code in the Android platform [closed]

make a callback in Java; in that java_callback() invoke a JNI function; in the JNI function, invoke a cocos_callback(); and there you have it 😉

Leave a Comment