aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-30 17:07:33 +0200
committerSven Gothel <[email protected]>2011-09-30 17:07:33 +0200
commit71fb7c1271cc1dbbcacdaf6da093055ec61835d3 (patch)
tree8652e5eb706c0b287b6f073fbda46c7517400204 /make
parentfeac236a9ec62a5a51053e06ad08ba9847c1b540 (diff)
Android: Use standard launch mode; Add default actions to NewtBaseActivity; Add RedSquare ES1 + ES2
Diffstat (limited to 'make')
-rw-r--r--make/resources/android/AndroidManifest-launcher.xml32
-rw-r--r--make/resources/android/res-launcher/values/strings.xml4
2 files changed, 32 insertions, 4 deletions
diff --git a/make/resources/android/AndroidManifest-launcher.xml b/make/resources/android/AndroidManifest-launcher.xml
index cbd2063a6..176ddfb3c 100644
--- a/make/resources/android/AndroidManifest-launcher.xml
+++ b/make/resources/android/AndroidManifest-launcher.xml
@@ -13,9 +13,33 @@
android:description="@string/app_descr"
android:persistent="false"
>
+ <activity android:name="com.jogamp.android.launcher.NEWTLauncherRedSquareES1Activity"
+ android:finishOnTaskLaunch="true"
+ android:launchMode="standard"
+ android:configChanges="keyboardHidden|orientation"
+ android:label="@string/activity_redsquarees1_name"
+ android:description="@string/activity_redsquarees1_descr"
+ >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ <activity android:name="com.jogamp.android.launcher.NEWTLauncherRedSquareES2Activity"
+ android:finishOnTaskLaunch="true"
+ android:launchMode="standard"
+ android:configChanges="keyboardHidden|orientation"
+ android:label="@string/activity_redsquarees2_name"
+ android:description="@string/activity_redsquarees2_descr"
+ >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
<activity android:name="com.jogamp.android.launcher.NEWTLauncherGearsES1Activity"
android:finishOnTaskLaunch="true"
- android:launchMode="singleTop"
+ android:launchMode="standard"
android:configChanges="keyboardHidden|orientation"
android:label="@string/activity_gearses1_name"
android:description="@string/activity_gearses1_descr"
@@ -27,7 +51,7 @@
</activity>
<activity android:name="com.jogamp.android.launcher.NEWTLauncherGearsES2Activity"
android:finishOnTaskLaunch="true"
- android:launchMode="singleTop"
+ android:launchMode="standard"
android:configChanges="keyboardHidden|orientation"
android:label="@string/activity_gearses2_name"
android:description="@string/activity_gearses2_descr"
@@ -39,7 +63,7 @@
</activity>
<activity android:name="com.jogamp.android.launcher.NEWTLauncherGraphUIActivity"
android:finishOnTaskLaunch="true"
- android:launchMode="singleTop"
+ android:launchMode="standard"
android:configChanges="keyboardHidden|orientation"
android:label="@string/activity_graphui_name"
android:description="@string/activity_graphui_descr"
@@ -51,7 +75,7 @@
</activity>
<activity android:name="com.jogamp.android.launcher.NEWTLauncherElektronActivity"
android:finishOnTaskLaunch="true"
- android:launchMode="singleTop"
+ android:launchMode="standard"
android:configChanges="keyboardHidden|orientation"
android:label="@string/activity_elektro_name"
android:description="@string/activity_elektro_descr"
diff --git a/make/resources/android/res-launcher/values/strings.xml b/make/resources/android/res-launcher/values/strings.xml
index 595752728..c039d6864 100644
--- a/make/resources/android/res-launcher/values/strings.xml
+++ b/make/resources/android/res-launcher/values/strings.xml
@@ -3,6 +3,10 @@
<string name="hello">Jogl Launcher</string>
<string name="app_name">JogAmp\'s Jogl Launcher</string>
<string name="app_descr">Launches Jogl Applications.</string>
+ <string name="activity_redsquarees1_name">RedSquareES1</string>
+ <string name="activity_redsquarees1_descr">RedSquareES1</string>
+ <string name="activity_redsquarees2_name">RedSquareES2</string>
+ <string name="activity_redsquarees2_descr">RedSquareES2</string>
<string name="activity_gearses1_name">GearsES1</string>
<string name="activity_gearses1_descr">GearsES1</string>
<string name="activity_gearses2_name">GearsES2</string>