diff options
author | Sven Gothel <[email protected]> | 2011-08-11 17:56:28 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-08-11 17:56:28 +0200 |
commit | cc551ca89bf207cafc83e7c8d9b22fd866ec4a26 (patch) | |
tree | 4e92726244aa436c2d27a0a71f6ad37f0a026e0c /make/resources/android/AndroidManifest-jogl.xml | |
parent | b893ada668591187ac6866296439811036db2d95 (diff) |
NEWT/Android Fix: Display/Screen/Window creation ; ScreenMode Change
- Remove Application Context notion in Screen/Display,
use 'jogamp.common.os.android.StaticContext'
- Display, Screen and Window construction is Android agnostic
allowing simple GLWindow creation.
- Android ScreenMode Fix:
- Use unrotated screen dimension
- Intercept 'orientation' configChange,
which keeps running the application in case of a rotation.
- ScreenMode Add: getRotatedWidth() / getRotatedHeight(),
used for Screen.setScreenSize(..) which reflects the rotates dimension.
- ScreenMode: getCurrentMode() allows new, not yet detected, ScreenModes
Diffstat (limited to 'make/resources/android/AndroidManifest-jogl.xml')
-rw-r--r-- | make/resources/android/AndroidManifest-jogl.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/make/resources/android/AndroidManifest-jogl.xml b/make/resources/android/AndroidManifest-jogl.xml index 24e7a7b78..c2017d37c 100644 --- a/make/resources/android/AndroidManifest-jogl.xml +++ b/make/resources/android/AndroidManifest-jogl.xml @@ -14,6 +14,7 @@ <activity android:name="jogamp.newt.driver.android.NewtVersionActivity" android:finishOnTaskLaunch="true" android:launchMode="singleTop" + android:configChanges="keyboardHidden|orientation" android:label="@string/activity_v_name" android:description="@string/activity_v_descr" > |