trying http://www.cocos2d-x.org/wiki/EasyNDK (EasyNDK for Cocos2d-x v3.0) for cpp call java/obj-c and vice versa