The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.
SDL
Simple Directmedia Layer Forums
Bluetooth keyboard start/stop on Android problem
EternalLands
Joined: 01 Dec 2016
Posts: 16
Posted: Thu Jan 26, 2017 6:53 pm
I am having a problem on Android.
If I start or stop my external BT keyboard, then the OS is terminating the application. I get the "app will be terminated" event, and if I don't do an exit() then really bad things will happen.
Well, I solved it. I added "keyboard" in android:configChanges="keyboardHidden|keyboard|orientation|screenSize" in the manifest file, and it works just fine