Cocos2dx inside foreignwindowcontrol on bb-ndk

Finally, I’ve managed to build a blackberry cascades project with all cocos library linked in pro file. Actually it was tricky.
Now it’s time to bind a cocos scene to foreignwindowcontrol and I have no idea how to approach this.
Maybe somebody has a clue how to do it?
10x