I am implementing an existing cocos2dx element form iOS to android using an activity that extends Cocos2dxActivity. The c*+ method Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit sets up cocos2dx after the activity starts. Now I have to call a method that is located at the AppDelegate instance from Java using JNI.
To do that I need an entry point in my activity. I tried to call a native c*+ function within onCreate, onStart or onResume but they all happen before nativeInit is called. At at which time can I be sure that cocos2dx is initialized?