aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp/openal/test/android/OpenALTestActivityLauncher.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/com/jogamp/openal/test/android/OpenALTestActivityLauncher.java')
-rw-r--r--src/test/com/jogamp/openal/test/android/OpenALTestActivityLauncher.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/test/com/jogamp/openal/test/android/OpenALTestActivityLauncher.java b/src/test/com/jogamp/openal/test/android/OpenALTestActivityLauncher.java
new file mode 100644
index 0000000..3ebbd80
--- /dev/null
+++ b/src/test/com/jogamp/openal/test/android/OpenALTestActivityLauncher.java
@@ -0,0 +1,36 @@
+package com.jogamp.openal.test.android;
+
+import java.util.Arrays;
+import java.util.List;
+
+import com.jogamp.openal.test.android.LauncherUtil.OrderedProperties;
+
+public class OpenALTestActivityLauncher extends LauncherUtil.BaseActivityLauncher {
+ static String demo = "com.jogamp.openal.test.android.OpenALTestActivity";
+ static String[] sys_pkgs = new String[] { "com.jogamp.common", "com.jogamp.openal" };
+ static String[] usr_pkgs = new String[] { "com.jogamp.openal.test" };
+
+ @Override
+ public void init() {
+ final OrderedProperties props = getProperties();
+ props.setProperty("jogamp.debug.JNILibLoader", "true");
+ props.setProperty("jogamp.debug.NativeLibrary", "true");
+ props.setProperty("jogamp.debug.NativeLibrary.Lookup", "true");
+ props.setProperty("jogamp.debug.IOUtil", "true");
+ }
+
+ @Override
+ public String getActivityName() {
+ return demo;
+ }
+
+ @Override
+ public List<String> getSysPackages() {
+ return Arrays.asList(sys_pkgs);
+ }
+
+ @Override
+ public List<String> getUsrPackages() {
+ return Arrays.asList(usr_pkgs);
+ }
+}