SDL-mirror/android-project
Sam Lantinga 545c6ea1eb 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 bug 1779 - SDL's Android project template has old default icons from Android. 2013-04-02 07:55:25 -07: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 Updated the Android project template and README.android 2012-11-02 02:37:49 -07:00
build.properties
build.xml Updated the Android project template and README.android 2012-11-02 02:37:49 -07:00
default.properties Adds Joystick support for Android 2013-11-05 20:07:39 -03:00
proguard-project.txt Updated the Android project template and README.android 2012-11-02 02:37:49 -07:00
project.properties Adds Joystick support for Android 2013-11-05 20:07:39 -03:00