Open GoogleCodeExporter opened 8 years ago
http://www.cocos2d-iphone.org/forum/topic/13292
Original comment by thomashi...@gmail.com
on 6 May 2011 at 3:39
Hi,
Thanks for the help,
I went thru that code and added it to latest source of cocos2d-android. But
when I add it to my source code(instead of using cocos2d-android.jar I am
compiling with direct source) CCLabel works fine but menuitem callbacks are not
called.
I dont know why this is happenning.
Can you please let me know how to generate cocos2d-android.jar after changing
code mentioned in this link http://www.cocos2d-iphone.org/forum/topic/13292
.
Thank you.
Original comment by rajnimge...@gmail.com
on 6 May 2011 at 8:47
Make sure for menuitem's your callback functions are formated as:
public void FUNCTION_NAME(Object sender) {
}
And for turning the cocos2d android-1 source that you altered back into a jar
just use eclipse.
File -> Export -> Java -> Jar
Original comment by thomashi...@gmail.com
on 9 May 2011 at 1:41
Hi,
Thanks for help.
I finally got it solved.
What I did is changed the cocos2d-iphone source file using
http://www.cocos2d-iphone.org/forum/topic/13292
Then I included it in my scr folder instead of using lib.
Its working fine now.
Thanks again
Original comment by rajnimge...@gmail.com
on 11 May 2011 at 4:53
Original issue reported on code.google.com by
rajnimge...@gmail.com
on 28 Apr 2011 at 11:25