As I’ve told you in this post you can’t deploy your game from Visual Studio directly to other platforms. You will need to create an Android project to generate the binaries to this platform.
Of course you don’t need to use Eclipse in order to deploy your game for Android. You just need Android NDK, Android SDK, Java JDK, ant tool and a good understand on how to integrate these tools in order to both generate Android apk file and to sign it.
Thanks again for a quick reply. Sorry for asking the same question twice. I guesse I’m having a hard time figuring out how to port the game to android.
I did the SimpleGame tutorial in Visual Studio 2010. I now want to port it to android.
I’ve installed eclipse and all the needed sdk’s and ndk’s, e.t.c…
Ive created a new android project in eclipse.
I’ve put my image files and sound files in the assets folder
=
4) Now where do I put my .cpp and .h files so that my game is ported to Android?
I need to program cocos2d-x games that will run on iphone and android for an employer.
If I make the game in win32 (so I can use visual studio and PC), Will I have a hard time later to release the game to the two devices? (iphone, android)
I want to know before we start making the games. If I find out, after the game is finished, that the game can only be exported to Iphone and not android, I will be in alot of trouble.
I guesse my question from the start was:
A) I will have to reprogramme the whole game in Java to release it for android
or
B) I can tweek then convert my c++ project to release it for android.
So is it A, or is it B.
I just want to know what I am getting into. And any suggestions would be apreciated.
If you want to use Visual Studio and C++ to develop iPhone, Android and Win32, then you might want to take a look at http://www.madewithmarmalade.com/ , it supports these platforms and more.
The good thing is that cocos2d-x supports marmalade also and gives you a single development environement for all the platforms. It is not free, about $149 per year for the basic license, but developing in a single environment for multiple platforms makes it worth it to me.