More than one project on an Android device ?
Monkey Targets Forums/Android/More than one project on an Android device ?
| ||
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 :) |
| ||
#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. |
| ||
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 :( |
| ||
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. |
| ||
Thanks for the simple explanation :) |
| ||
I think the "com.gamename.companyname" thing is just a suggestion by Google. The important thing is that it is supposed to be unique. |