Sam Lantinga
b19a91d82d
Allow the activity to persist through connecting or disconnecting a keyboard
2017-11-01 18:41:11 -07:00
Sam Lantinga
80fbdd08d4
Moved the meta-data into the right section
2017-11-01 18:40:11 -07:00
Sam Lantinga
7565396bf0
Added controller mapping for Android TV remotes
...
Also fixed the back button on the remote exiting the application
2017-11-01 10:06:58 -07:00
Sam Lantinga
e9bd005f5d
Add SDL_GetDisplayDPI implementation on Android. (thanks Rachel!)
2017-10-31 13:49:59 -07:00
Sam Lantinga
580856933d
Fixed Java string comparison with ""
2017-10-29 21:09:09 -07:00
Sam Lantinga
156e5e86d1
android: Fix softkeyboard issue in SDL on Android.
2017-10-26 10:41:38 -07:00
Sam Lantinga
b985a686f1
Added the ability to set SDL hints from AndroidManifest.xml (thanks Rachel!)
...
This is especially useful for things like the accelerometer hint which could be needed before application main().
2017-10-24 00:17:07 -07:00
Sam Lantinga
6cba336d1c
Fixed crash if mSurface isn't set up when we pause the application
2017-10-24 00:04:40 -07:00
Sam Lantinga
f3da7593a5
Removed unneeded file automatically generated by Android Studio
2017-10-23 23:35:04 -07:00
Sam Lantinga
bb43a2bf53
Updated the minimum and target SDK versions in AndroidManifest.xml
2017-10-23 23:26:40 -07:00
Sam Lantinga
8216efa3bd
Updated Android build tools version, which bumped minimum deployment target to API 14
...
Also added native code to the Android gradle project, which allows using gradle or Android Studio to build the entire SDL application without a separate ndk-build step.
2017-10-23 23:23:47 -07:00
Sam Lantinga
3406fdde97
Fixed build with older Android SDK
2017-10-23 23:23:34 -07:00
Sam Lantinga
cea35f5176
Switched to new style gradle Android application build process
...
--HG--
rename : android-project/jni/src/Android.mk => android-project/app/jni/src/Android.mk
rename : android-project/src/org/libsdl/app/SDL.java => android-project/app/src/main/java/org/libsdl/app/SDL.java
rename : android-project/src/org/libsdl/app/SDLAudioManager.java => android-project/app/src/main/java/org/libsdl/app/SDLAudioManager.java
rename : android-project/src/org/libsdl/app/SDLControllerManager.java => android-project/app/src/main/java/org/libsdl/app/SDLControllerManager.java
2017-10-23 15:23:43 -07:00