SDL/android-project
Sam Lantinga 6ee661398d Fixed bug 3235 - Make the Android window creation similar to iOS' window creation
Sylvain

Here's a patch.
It tries to get the hint first. Resizable will allow any orientation. Otherwise it uses width/height window.

setOrientation method is splitted in static and non-static, so that it can be overloaded in a user subclass.

Some artefact observed :
surfaceChanged() can be called twice at the beginning. When the phone starts in portrait and run a landscape application.
2017-08-13 20:55:59 -07:00
..
jni Fixed bug 2758 - Android issues with NDK r10c and API-21 2016-10-14 06:57:55 -07:00
res Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
src/org/libsdl/app Fixed bug 3235 - Make the Android window creation similar to iOS' window creation 2017-08-13 20:55:59 -07:00
AndroidManifest.xml Fixed bug 3191 - haptic system on android? 2017-08-12 08:15:09 -07:00
ant.properties Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
build.properties Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
build.xml Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
default.properties Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
proguard-project.txt Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
project.properties Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00