I’ll admit I overlooked (plain didn’t bother) adding back button support to my game Arrow Mania on Android, it will be there in the next update though! Turns out it is really easy to implement too, just a few steps:
In your CCLayer class (your main game class) add the following line to the header file:
Then in the .cpp file simply add the function like below:
And that’s it! Works in cocos2d-2.0-x-2.0.2 and beyond.