i have completely ported a game for ANDROID using cocos2dx and C++.
now i am having a problem with the termination of the game when the user clicks the back button.
i know how to handle back click event from CCLayer.
Can anyone suggest me how to terminate the game from CCScene.
i tried using keyBackClicked(), but it only works for CCLayer and not for CCScene.
can anyone tell me how to do that for CCScene.