More than one project on an Android device ?

Monkey Targets Forums/Android/More than one project on an Android device ?

Drex(Posted 2014) [#1]
Every time I compile for Android it creates a project called "Monkey Game".

But, what if I want more then one project on my Android device ?

At the moment it keeps overwriting the one that is already on there ?

Have done a search on the forums, but I couldn't see no conclusive answer ?

Any help, much appreciated :)


Gerry Quinn(Posted 2014) [#2]
#ANDROID_APP_LABEL="My Game"
#ANDROID_APP_PACKAGE="com.mygame.myname"
#ANDROID_VERSION_CODE="1"
#ANDROID_VERSION_NAME="1.0"

Android doesn't care much about file names, you can just rename MonkeyGame.apk to whatever you want. The important names go in the config params.


Drex(Posted 2014) [#3]
Thanks, works like a charm, but just need to understand it a little more...

#ANDROID_APP_LABEL="stars"
#ANDROID_APP_PACKAGE="com.mygame.stars" ?

Am I correctly renaming things ?

Don't really understand the second line :(


Paul - Taiphoz(Posted 2014) [#4]
I think, think of it like com.yourcompany.yourgame at least thats how I look at it.
here is what I am using atm for my current project.

#ANDROID_APP_LABEL="Hexanoid"
#ANDROID_APP_PACKAGE="com.littleember.hexanoid"


So that's what I use for all my games only the last part of line 2, and the name in line 1 changes per project.


Drex(Posted 2014) [#5]
Thanks for the simple explanation :)


Gerry Quinn(Posted 2014) [#6]
I think the "com.gamename.companyname" thing is just a suggestion by Google. The important thing is that it is supposed to be unique.