摘要:
//.cppprivate void callJava(const char* str){#if(CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) JniMethodInfo methodInfo; //getStaticMethodInfo获取到MethodId和ClassId,ClassID通过穿进去的Activity即类名获取,MethodId通过函数名获取 bool isHave = JniHelper::getStaticMethodInfo(methodInfo, "com/lengyuyue/cocos2dx/ForAndro... 阅读全文