diff options
Diffstat (limited to 'src/android')
-rw-r--r-- | src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java | 9 | ||||
-rw-r--r-- | src/android/com/jogamp/android/launcher/NEWTLauncherGearsES2TransActivity.java | 15 |
2 files changed, 17 insertions, 7 deletions
diff --git a/src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java b/src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java index b79be888f..3120fc73e 100644 --- a/src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java +++ b/src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java @@ -64,8 +64,8 @@ public abstract class NEWTLauncherActivity extends Activity { // System.setProperty("jogl.debug", "all"); // System.setProperty("jogl.debug.GLProfile", "true"); - // System.setProperty("jogl.debug.GLDrawable", "true"); - // System.setProperty("jogl.debug.GLContext", "true"); + System.setProperty("jogl.debug.GLDrawable", "true"); + System.setProperty("jogl.debug.GLContext", "true"); System.setProperty("jogl.debug.GLSLCode", "true"); System.setProperty("jogl.debug.CapabilitiesChooser", "true"); @@ -107,11 +107,6 @@ public abstract class NEWTLauncherActivity extends Activity { throw e; } - // Make window fullscreen - requestWindowFeature(Window.FEATURE_NO_TITLE); - getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, - WindowManager.LayoutParams.FLAG_FULLSCREEN); - callMethod(activityObject, mSetIsInvokedByExternalActivity, this); callMethod(activityObject, mOnCreate, savedInstanceState); diff --git a/src/android/com/jogamp/android/launcher/NEWTLauncherGearsES2TransActivity.java b/src/android/com/jogamp/android/launcher/NEWTLauncherGearsES2TransActivity.java new file mode 100644 index 000000000..c55620f4c --- /dev/null +++ b/src/android/com/jogamp/android/launcher/NEWTLauncherGearsES2TransActivity.java @@ -0,0 +1,15 @@ +package com.jogamp.android.launcher; + +public class NEWTLauncherGearsES2TransActivity extends NEWTLauncherActivity { + static String demo = "com.jogamp.opengl.test.android.NEWTGearsES2TransActivity"; + static String pkg = "com.jogamp.opengl.test"; + + @Override + public String getUserActivityName() { + return demo; + } + @Override + public String getUserPackageName() { + return pkg; + } +} |