That GitHub - aajiwani/EasyNDK-for-cocos2dx: NDK is always a problem. Writing such a code that can become a breeze in connecting with other platforms is always a problem when working with cocos2dx. This repo is a step made forward to make this pain a simple step. is good example for communication platform specific native code and C++.