can this be changed <activity android:name="....
Monkey Targets Forums/Android/can this be changed <activity android:name="....| 
 | ||
| there's a line in templates/androidManifest.xml: <activity android:name="MonkeyGame"... Can this be changed, or should it remain? What this actually means :) And is there a summarized list of files & changes that should be taken care of when doing release (or update?)? I've seen info scattered in multiple threads | 
| 
 | ||
| I believe if you change it your Android application will stop working. The activity name in the manifest links to the Java class. | 
| 
 | ||
| In case of Update/Release you have to care about.... ...using the same signature key as you used when signing the app first ...using the same app package name in your monkey code: #ANDROID_APP_PACKAGE="com.mycompany.mygame" ...using a higher version code in the manifest than the last time: android:versionCode="6" | 
| 
 | ||
| And the version code now can be done in Monkey code too :) | 
| 
 | ||
| Related to something similar,  if I add this to the manifest <activity android:name="com.package.blah" Could I access the R class of that package? ex: import com.package.blah.R.bool; istablet = R.bool.isTablet; If not how should this be done? sorry for the hijack | 
| 
 | ||
| @therevills: thanks, that's was my gut feeling...  and the version code now can be done in Monkey code too :)  Cool! ...How? :) And what about version string? ("1.0.6") Can I also type that in Monkey? Plus, can I use that version number also inside my monkey code (if i'd like to show "build N" (where N is the version code) | 
| 
 | ||
|  "...Could I access the R class of that package? ex:"  I also would like much more about how monkey builds work "under the hood"! Could somebody who knows more about Java, Android and Monkey write a tutorial about the structures of a typical "monkey made" app? And perhaps about how it could be combined with the Android SDK? Day by day we find out small pieces of a possibible cooperation with android (SMS, DPI, etc...). But is is possible to put this on a stable knowledge base? | 
| 
 | ||
| Look at the admob module. It shows how to add an activity. | 
| 
 | ||
|  Cool! ...How? :)  You can use the following: #ANDROID_APP_LABEL="Monkey Game" #ANDROID_APP_PACKAGE="com.monkey" #ANDROID_SCREEN_ORIENTATION="user" '"user", "portrait", "landscape" #ANDROID_GAMEPAD_ENABLED=False #ANDROID_VERSION_CODE="1" #ANDROID_VERSION_NAME="1.0" | 
| 
 | ||
| Oh thank you... Do I have to write a placeholder at the corresponding manifest line, when I want to use a "in code" version line? Because for package I have to do this: <manifest xmlns:android="http://schemas.android.com/apk/res/android"
	package="${ANDROID_APP_PACKAGE}"
	android:versionCode="1"
	android:versionName="1.0"
is it like this? monkey: #ANDROID_VERSION_CODE="1" #ANDROID_VERSION_NAME="1.0" manifest: <manifest xmlns:android="http://schemas.android.com/apk/res/android"
	package="${ANDROID_APP_PACKAGE}"
	android:versionCode="${ANDROID_VERSION_CODE}" ???
	android:versionName="${ANDROID_VERSION_NAME}" ???
 MikeHart..Look at the admob module...  That's the way I do now, but wouldn't it be better if somebody writes a systematic in deep tutorial? | 
| 
 | ||
|  is it like this? monkey: #ANDROID_VERSION_CODE="1" #ANDROID_VERSION_NAME="1.0" This one... I kept bumping this feature for awhile and Mark added it not that long along...  ***** V70f ***** Android: Fixed ANDRIOD_VERSON_NAME in target config.txt. ***** V70d ***** Fixed android manifest VERSION problems. ***** V70c ***** Added ANDROID_VERSION_CODE and ANDROID_VERSION_NAME app config settings. Your manifest should look like this: <manifest xmlns:android="http://schemas.android.com/apk/res/android"
	package="${ANDROID_APP_PACKAGE}"
	android:versionCode="${ANDROID_VERSION_CODE}"
	android:versionName="${ANDROID_VERSION_NAME}"
	android:installLocation="auto">As that's the template Monkey supplies. | 
| 
 | ||
| @midimaster. Sure it would be better. But Marc hasn't. And for my flurry Module I went exactly that route. It worked but don't ask me why, cause i don't know. Sorry if my initial post didn't help you. | 
| 
 | ||
| Whats the difference? #ANDROID_VERSION_CODE="1" #ANDROID_VERSION_NAME="1.0" Is it that the name should be upped by a .1 for minor updates and the code should be updated +1 for big updates ? the name code and name seems a bit ambiguous to me given their both numbers by default. | 
| 
 | ||
| The Version code needs to be incremented each time if you deploy to Google Code, the Version name is what is displayed to the users. | 
| 
 | ||
| Thanks, Arthur .B gave me the same answer in the monkey G+ Hangout. |