I am using cocos2dx to make a small game and in the activity of my game i give the following functions to handle back button.
@Override public boolean onKeyDown
Have you enabled the touch? If not then please enable it and Hope, it'll sort-out your problem.
I assume that's button in your game screen.