JOAL v2.6.0-rc-20250706
JOAL, OpenAL® API Binding for Java™ (public API).
OpenALTestActivityLauncher.java
Go to the documentation of this file.
1package com.jogamp.openal.test.android;
2
3import java.util.Arrays;
4import java.util.List;
5
6import com.jogamp.openal.test.android.LauncherUtil.OrderedProperties;
7
8public class OpenALTestActivityLauncher extends LauncherUtil.BaseActivityLauncher {
9 static String demo = "com.jogamp.openal.test.android.OpenALTestActivity";
10 static String[] sys_pkgs = new String[] { "com.jogamp.common", "com.jogamp.openal" };
11 static String[] usr_pkgs = new String[] { "com.jogamp.openal.test" };
12
13 @Override
14 public void init() {
15 final OrderedProperties props = getProperties();
16 props.setProperty("jogamp.debug.JNILibLoader", "true");
17 props.setProperty("jogamp.debug.NativeLibrary", "true");
18 props.setProperty("jogamp.debug.NativeLibrary.Lookup", "true");
19 props.setProperty("jogamp.debug.IOUtil", "true");
20 }
21
22 @Override
23 public String getActivityName() {
24 return demo;
25 }
26
27 @Override
28 public List<String> getSysPackages() {
29 return Arrays.asList(sys_pkgs);
30 }
31
32 @Override
33 public List<String> getUsrPackages() {
34 return Arrays.asList(usr_pkgs);
35 }
36}
final OrderedProperties getProperties()
Returns the properties, which are being propagated to the target activity.
final void setProperty(final String key, final String value)
Helper class to parse Uri's and programmatically add package names and properties to create an Uri or...
void init()
Custom initialization hook which can be overriden to setup data, e.g.
List< String > getSysPackages()
Return a list of required system packages w/ native libraries, may return null or a zero sized list.
List< String > getUsrPackages()
Must return a list of required user packages, at least one containing the activity.
String getActivityName()
Must return the downstream Activity class name.