aboutsummaryrefslogtreecommitdiffstats
path: root/src/android/com
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-10-06 20:21:31 +0300
committerRami Santina <[email protected]>2011-10-06 20:21:31 +0300
commitfe8e357ac03d8dd5e244879647fcec7fca60dedc (patch)
tree9f45329f07d379902dcc9c62c630f7972f96b73b /src/android/com
parent25204678f889de889a6b23c170e17bd7f13d2c01 (diff)
parentfa7627f623141c6fa15856c74d26c8ffe82550d0 (diff)
Merge branch 'master' of git://github.com/sgothel/jogl
Diffstat (limited to 'src/android/com')
-rw-r--r--src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java9
-rw-r--r--src/android/com/jogamp/android/launcher/NEWTLauncherGearsES2TransActivity.java15
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;
+ }
+}