summaryrefslogtreecommitdiffstats
path: root/make/resources
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-28 17:10:40 +0200
committerSven Gothel <[email protected]>2011-09-28 17:10:40 +0200
commit659476e002a9bfe6b35b00ea1c46fc67c62ba703 (patch)
tree06ff2b28c42f7f850bfda75964ffc791bc594072 /make/resources
parentc9575115e214c94501b923599cc5d64778099829 (diff)
Android Activity Launching (jogl.test)
Launching activity is in: jogl.android-launcher.apk and directly derives from NewtLauncherActivity. It daisy chains apk's via ClassLoaderUtil: - gluegen-rt.apk - jogl.all-android.apk - jogl.test.apk (*) (*) This has to made configurable so the generic NewtLauncherActivity can be reused by any user application. After preparing the ClassLoader (see above), NewtLauncherActivity instanciates the configurable user Activity and passes all it's activity calls down to it.
Diffstat (limited to 'make/resources')
-rw-r--r--make/resources/android/AndroidManifest-launcher.xml25
-rw-r--r--make/resources/android/res-launcher/values/strings.xml10
2 files changed, 25 insertions, 10 deletions
diff --git a/make/resources/android/AndroidManifest-launcher.xml b/make/resources/android/AndroidManifest-launcher.xml
index 1dfec1cb7..a69e6f865 100644
--- a/make/resources/android/AndroidManifest-launcher.xml
+++ b/make/resources/android/AndroidManifest-launcher.xml
@@ -6,30 +6,43 @@
<uses-sdk android:minSdkVersion="9" />
<uses-library android:name="com.jogamp.common" android:required="true" />
<uses-library android:name="javax.media.opengl" android:required="true" />
+ <uses-library android:name="com.jogamp.opengl.test" android:required="true" />
<application android:icon="@drawable/icon"
android:label="@string/app_name"
android:description="@string/app_descr"
android:persistent="false"
>
- <activity android:name="com.jogamp.android.launcher.NEWTLauncherVersionActivity"
+ <activity android:name="com.jogamp.android.launcher.NEWTLauncherGearsES1Activity"
android:finishOnTaskLaunch="true"
android:launchMode="singleTop"
android:configChanges="keyboardHidden|orientation"
- android:label="@string/activity_v_name"
- android:description="@string/activity_v_descr"
+ android:label="@string/activity_gearses1_name"
+ android:description="@string/activity_gearses1_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.NEWTLauncherGearsActivity"
+ <activity android:name="com.jogamp.android.launcher.NEWTLauncherGearsES2Activity"
android:finishOnTaskLaunch="true"
android:launchMode="singleTop"
android:configChanges="keyboardHidden|orientation"
- android:label="@string/activity_gears1_name"
- android:description="@string/activity_gears1_descr"
+ android:label="@string/activity_gearses2_name"
+ android:description="@string/activity_gearses2_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.NEWTLauncherGraphUIActivity"
+ android:finishOnTaskLaunch="true"
+ android:launchMode="singleTop"
+ android:configChanges="keyboardHidden|orientation"
+ android:label="@string/activity_graphui_name"
+ android:description="@string/activity_graphui_descr"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
diff --git a/make/resources/android/res-launcher/values/strings.xml b/make/resources/android/res-launcher/values/strings.xml
index 23b0248bd..e9bb75b65 100644
--- a/make/resources/android/res-launcher/values/strings.xml
+++ b/make/resources/android/res-launcher/values/strings.xml
@@ -3,8 +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_v_name">Jogl\'s Version</string>
- <string name="activity_v_descr">Shows the version of the Jogl Library.</string>
- <string name="activity_gears1_name">Gears ES1</string>
- <string name="activity_gears1_descr">Gears ES1</string>
+ <string name="activity_gearses1_name">GearsES1</string>
+ <string name="activity_gearses1_descr">GearsES1</string>
+ <string name="activity_gearses2_name">GearsES2</string>
+ <string name="activity_gearses2_descr">GearsES2</string>
+ <string name="activity_graphui_name">GraphUI</string>
+ <string name="activity_graphui_descr">GraphUI</string>
</resources>