摘要: //.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... 阅读全文
posted @ 2014-04-02 19:32 Marble 阅读(826) 评论(0) 推荐(0) 编辑