Use Jni in android.

Can anyone help me out how to include jni files in my layer class and call its methods??

Maybe that can help you
http://www.cocos2d-x.org/boards/10/topics/9191