Forum > C++ > Calling to cocos2d-android

Calling to cocos2d-android

By DevSilenti Posted 2011-10-03 14:40 Comments 1
  • Posts: 8

I was up until recently using cocos2d-android to work on my project until I discovered this glorious website.

I would prefer not to lose a few weeks worth of work. Is there any way that I can “call up” to the Java code and present it to the user or will I be forced to recode everything?

  • Posts: 1735
  • Location: Xiamen, China

#1 RE: 2011-10-04 07:09

You can read documents on for how to invoke java codes via JNI.
But my suggestion is to translate the java sources into c++. It’s very complex to mix your 2 opengles drawing views, one in cocos2d-android, another in cocos2d-x.

Less is More. Keep Focus.

Loggin to reply

Copyright © 2010 - 2013 Cocos2d-x.orgClustrmaps