Integrating cocos2d-x into an existing classic java Android project

I’m going to integrate a cocos2d-x activity in a project where this activity is not the main activity. I’ve not seen any tutorial to do so but I feel it’s possible. Any tip, idea is welcome. I’m new to JNI and NDK so I guess this will be a tough challenge.

Yeah, it works. Tutorial to come. Note I’m not yet sure how the memory is released, and if it’s correctly released when I launch/quit many times the cocos2d-x activity.

Tuto is here, hope it helps http://jpsarda.tumblr.com/post/26000816688/integrate-cocos2d-x-c-into-an-android-application