Android back button and home button

How to use back button and home button in cocos2dx -android

Thanks,
Gurusagar

You can refer KeypadTest.

override CCLayer::keyBackClicked() in your CCLayer inheritor, and call this->setIsKeypadEnabled(true) in CCYourLayer::init.
Only back key can be received, while home key is used by the system, you had better not to change its behavior.