manifest

Monkey Targets Forums/Android/manifest

freedo(Posted 2014) [#1]
Guys im having trouble changing (android:name="MonkeyGame") with the hash tags in my code..is there a syntax for this..?

also my apps are free but google play assume I am in game billing I think because of this-

<uses-permission android:name="com.android.vending.BILLING" />

How do I change this....hash tag code version please..

Thanks.


Steve Oliver(Posted 2014) [#2]
For the billing, remove that line from then manifest in the templates folder in the android build folder.

For the app name, change #ANDROID_APP_LABEL in the CONFIG.MONKEY file in the android build folder.


therevills(Posted 2014) [#3]
For the app name, change #ANDROID_APP_LABEL in the CONFIG.MONKEY file in the android build folder.

Even better add it to your source code:
Strict

#ANDROID_APP_LABEL="My Super Game Title"
#ANDROID_APP_PACKAGE="com.company.msgt"
#ANDROID_SCREEN_ORIENTATION="portrait"
#ANDROID_VERSION_CODE="1"
#ANDROID_VERSION_NAME="1.00"

Import mojo

Function Main:Int()
	New Game()
	Return 0
End

Class Game Extends App



freedo(Posted 2014) [#4]
Hi , The above code does not change the app name.

it changes the app package
it changes the app label

but still does not change the app name..!.(android:name="MonkeyGame") does not change.

when I try to change this with the hash tag in code it has no effect hers mine . #ANDROID_APP_NAME="any name but MonkeyGame"

No work.


therevills(Posted 2014) [#5]
I don't think you understand. You do not want to change the app name in the manifest as it will break the build process, if you did change that name you would need to alter the source code too to match.

You only need to change the label and package, ignore the name.


freedo(Posted 2014) [#6]
Oh..ok, didn't know that.

Thanks for the info...