Jordan Christiansen
7032539785
Disabled Bluetooth if BLE is not supported
...
BluetoothManager is supported for Android API 18+. On older versions, skip
Bluetooth instead of crashing.
2021-01-07 19:33:12 -06:00
Sam Lantinga
cdd397118f
Fixed the Xbox Series X controller showing up twice on Android
2020-12-15 14:57:49 -08:00
Sylvain Becker
311ae829c7
Android: keep compatibility with older JDK
2020-10-28 14:03:05 +01:00
Sylvain Becker
97cf314526
Android: apply code simplications found with lint / Android Studio
2020-10-27 21:14:49 +01:00
Sylvain Becker
0360987f45
Android: fix deprecated onCreateDialog() methods
2020-10-24 20:31:04 +02:00
Sylvain Becker
967041681b
Android: fix Clipboard deprecated methods
2020-10-24 15:36:05 +02:00
Sylvain Becker
b7b8ef59a3
Fixed bug 5307 - Crash when joysticks hats number is odd (Thanks Sockmonsters!)
2020-10-07 17:32:07 +02:00
Sylvain Becker
bffbc7e316
Android: better readibility for pollHapticDevices()
2020-10-07 14:55:23 +02:00
Sylvain Becker
20c070d869
Android: better readibility for pollInputDevices()
...
and move isDeviceSDLJoystick() test at first since there are
always non-joystick devices present.
2020-10-07 14:41:37 +02:00
Sylvain Becker
a70bb58d4b
Android: fix joystick allocation that can be never used
2020-10-05 14:09:31 +02:00
Sylvain Becker
2e38c94950
Fix bug 5303 - Touch/Mouse events simulation doesn't work on Android 11
2020-10-05 09:56:03 +02:00
Sylvain Becker
0467e332af
Android: small change to access to device diagonal value
2020-10-01 15:11:28 +02:00
Sylvain Becker
62b029f33b
Android: missing import class Uri
2020-10-01 14:43:59 +02:00
Sylvain Becker
dd55bfe89c
Android: add helper function to open an URL/URI (see bug 2783)
2020-10-01 14:41:09 +02:00
Sylvain Becker
7ad71563ce
Android: be sure shared libraries are loaded in onConfigurationChanged()
...
This could fix a rare crash if:
- onConfigurationChanged is called before onCreate();
or
shared libraries failed to load and onConfigurationChanged() is called
2020-09-25 10:42:07 +02:00
Sylvain Becker
96d555e25a
Android: remove un-needed java import (bug 4297)
2020-08-17 20:09:01 +02:00
Sylvain Becker
965b466ee8
Fixed bug 4297 - Android StrictMode policy. Remove APK expansion support
...
"In the second half of 2021, new apps will be required to publish with the Android App Bundle on Google Play"
(see https://developer.android.com/guide/app-bundle )
And "Android App Bundles don't support APK expansion (*.obb) files".
2020-08-17 19:50:20 +02:00
Sam Lantinga
d0947c1483
Fixed exception if getManifestEnvironmentVariables() is called without a current SDL activity
2020-06-04 12:30:25 -07:00
Sam Lantinga
68e1731e02
Don't bother logging security exception getting the device serial number
...
This can happen anytime we haven't opened the device yet
2020-05-29 15:40:17 -07:00
Sockmonsters
eea450bc99
- Added exception handler for the new SecurityException in USBDevice getSerialNumber
2020-05-29 15:37:03 -07:00
Sylvain Becker
33642b47b2
Android: robustness if locale failed to be detected at start
2020-05-08 21:50:23 +02:00
Sylvain Becker
2491f16f85
Android: send SDL_LOCALECHANGED when locale changes
2020-05-08 21:40:28 +02:00
Sam Lantinga
beab15b09e
Added additional logging to track down why the NVIDIA controller doesn't send the back button
2020-04-27 19:12:02 -07:00
Sam Lantinga
37faac0d81
Fixed java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.WindowManager android.app.Activity.getWindowManager()' on a null object reference
2020-03-05 08:43:16 -08:00
Sam Lantinga
dc54add5e0
Added some extra permissions and features likely to be used by SDL applications
2020-02-14 18:21:58 -08:00