App Name AppTitle apk name

Monkey Targets Forums/Android/App Name AppTitle apk name

SuperDan(Posted 2012) [#1]
I know this topic was covered briefly here http://monkeycoder.co.nz/Community/posts.php?topic=136#683 and here http://www.monkeycoder.co.nz/Community/posts.php?topic=358 but there was never a full solution offered. I have tried following all the tips but keep having to delete my build folder due to crashes.

Is there a simple way to change the title of the App, before compiling it, by adding an AppTitle to your project?

Thanks in advance,
Dan.


therevills(Posted 2012) [#2]
Try this:

#ANDROID_APP_LABEL="Monkey Game"
#ANDROID_APP_PACKAGE="com.monkey"

Function Main()
   Print "Hello"
End


*Not tested myself, in the past I have always changed CONFIG.txt after compiling...


SuperDan(Posted 2012) [#3]
Thanks. Works a treat!


siread(Posted 2012) [#4]
Since deleting my build/android folder I can't seem to get Monkey to name my apk anything other than MonkeyGame.

Where do you set the apk name specifically?


therevills(Posted 2012) [#5]
Where do you set the apk name specifically?

I dont believe you can...


siread(Posted 2012) [#6]
That's odd because I recovered my old build folder and it's still building the apk as NewStarSoccer-debug.apk. Weird!


golomp(Posted 2012) [#7]
so you found a file where you can change the apk name....
good news !!! :)

maybe you can find wich file is it with a DOS command like :

FINDSTR /N/I/S "yourgamename" *.*

(in your case, yourgamename is NewStarSoccer so you will have to type:
FINDSTR /N/I/S "NewStarSoccer" *.*
launch it in your game directory to save time)