How do I setup a C++ project for Android?

So I managed to run the sample for Android,but I’m having some problem regarding creating and running C++ projects for android.

The problem is,I have no ideea how to do it,some help?

EDIT: So I followed this: http://cocos2d-x.org/forums/6/topics/43031

Now I have multiple projects for each platform.But if I open the android project there is only java code…where is the c++ code?(if i use the win32 project i cannot compile for android)

If you open the Android project in Eclipse, you need to link the Classes folder first.

Ok, I did it,tested if the code works by changing the hello world image in the cpp file,and it appeared on screen. Thanks a lot!