aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-05-03 05:02:08 +0200
committerSven Gothel <[email protected]>2012-05-03 05:02:08 +0200
commit3a63e20ca981931ed42d27a7ce4c6b16c9198020 (patch)
tree17ac96b1d06d3b312684cb411bc00de2edaea9e5 /make
parent4ce601b38ca8418eddbe8cca4d531e6161fae26b (diff)
AndroidLauncher: Add 'MainLauncher'; ClassLoaderUtil adds list of direct APKs to add to classpath
MainLauncher is capable of launching a traditional static main method from a activity. TODO: - parametrize the APK list (junit, ..) - pass-through the activity instance to be used w/ NEWT AndroidWindow
Diffstat (limited to 'make')
-rw-r--r--make/resources/android/AndroidManifest-Launcher.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/make/resources/android/AndroidManifest-Launcher.xml b/make/resources/android/AndroidManifest-Launcher.xml
index ab0825c..c11a38f 100644
--- a/make/resources/android/AndroidManifest-Launcher.xml
+++ b/make/resources/android/AndroidManifest-Launcher.xml
@@ -49,6 +49,21 @@
<data android:scheme="launch" android:host="jogamp.org"/>
</intent-filter>
</activity>
+ <activity android:name="jogamp.android.launcher.MainLauncher"
+ android:finishOnTaskLaunch="false"
+ android:launchMode="standard"
+ android:configChanges="keyboardHidden|orientation|screenLayout"
+ android:label="@string/activity_l_name"
+ android:description="@string/activity_l_descr"
+ android:exported="true"
+ >
+ <!-- android:configChanges="keyboardHidden|orientation|screenLayout|screenSize" -->
+ <intent-filter>
+ <action android:name="org.jogamp.launcher.action.LAUNCH_MAIN" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data android:scheme="launch" android:host="jogamp.org"/>
+ </intent-filter>
+ </activity>
</application>
</manifest>