Commit Graph
408 Commits
Author SHA1 Message Date
Henrik Rydgård fb88dbbbbf Android: Handle pointer event cancellation 2026-02-06 12:47:41 +01:00
Henrik Rydgård 841e4c8564 Add various checks trying to avoid various crashes found in Google Play crash reports. 2026-02-05 11:12:53 +01:00
Henrik Rydgård d4e6295d31 Android: Better filtering of device connected notifications 2026-01-31 13:11:06 +01:00
Henrik Rydgård 25d216a20a Release all keys and axes on game controller disconnect on Android 2026-01-26 11:08:55 +01:00
Henrik Rydgård dccca3c441 Android: Track device disconnection 2026-01-25 23:02:12 +01:00
Henrik Rydgård e3aec526ec Fix some lints 2026-01-25 23:02:12 +01:00
Henrik Rydgård e7aba8f153 Hook up an InputDeviceListener, and just have it log 2026-01-25 23:02:12 +01:00
Henrik Rydgård 53c5f1875c Minor cleanup of Android vulkan code 2026-01-24 10:54:46 +01:00
Henrik Rydgård 3c4adc3e66 Fix a number of Android Studio lint warnings, a bad jni return type and an memory leak 2026-01-21 18:43:47 +01:00
Henrik Rydgård c13060363f More minor Android cleanup/fixes 2026-01-19 17:00:15 +01:00
Henrik Rydgård ec831d2d6c Fix some logic bugs in the java code 2026-01-19 16:42:36 +01:00
Henrik Rydgård c56ef2191f Android: More deprecation fixes 2026-01-19 15:47:43 +01:00
Henrik Rydgård 6e5d8634de Some android cleanups 2026-01-19 15:47:40 +01:00
Henrik Rydgård e6e82c9ad3 Add java-side prefix filtering for ContentUri directory listing 2026-01-09 10:12:15 +01:00
Henrik Rydgård 70f1488416 Implement a unicode-char keyboard event on Android.
This fixes the ImDebugger when trying to use it with a bluetooth
keyboard, and also fixes other types of text input from bluetooth
keybaords on Android.

However, the ImDebugger is currently very crash-prone on Android since
it crashes on layout changes. This will be fixed separately.
2026-01-07 19:12:15 +01:00
Henrik Rydgård cadbe3a2e0 Speedup text rendering on Android slightly, eliminate possible assert 2026-01-02 14:20:20 +01:00
Henrik Rydgård 9d620c195e Android: Catch a possible exception while assigning shortcut icons 2026-01-02 14:20:20 +01:00
Henrik Rydgård 5b7b1f76eb Add an in-app crash history viewer to Developer Tool on Android (v30+) 2025-12-15 17:16:47 +01:00
WalnutTreeDev 8b3e7fb346 Add android fallback when nintendo switch left joycon keyCode event is invalid 2025-11-30 22:39:08 +00:00
Henrik Rydgård 9a8176508d Fix issue with the new inset code (forgot to take cutouts into account) 2025-11-22 10:30:26 +01:00
Henrik RydgårdandGitHub defd21cc90 Android: Rework UI insets handling (#21007)
* During game load, place the loading screen where the game will appear

* Android: Merge NativeActivity into PpssppActivity

* Rework window insets handling on Android

* Main screen: Display the path on its own line in portrait mode

* Make the "Fullscreen" setting on Android separate between portrait and landscape
2025-11-16 10:43:58 +01:00
Henrik Rydgård 2fce2da709 Apply the font system rework to Android as well 2025-11-09 08:52:21 +01:00
Henrik Rydgård 833f80421f Delete some obsolete code 2025-11-06 23:44:55 +01:00
Henrik Rydgård cfe807baed Android refactor: Move all contentUri utilities to the new class ContentUri 2025-11-06 23:44:55 +01:00
Henrik Rydgård 073ef61643 Merge the two functions, fix JNI lifetime issues
Fixes the last part of #10885 finally.
2025-09-05 10:31:51 +02:00
Henrik Rydgård 2a7dad43c6 WIP: Turn the methods into static methods. 2025-09-05 10:31:27 +02:00
Henrik Rydgård 7df5941531 Correctly convert one AndroidStorage method into static 2025-09-05 10:31:27 +02:00
Henrik Rydgård cfba17b6e6 Correct error codes from sceUtilityLoadAvModule / UnloadAvModule.
Fixes #20775
2025-09-04 15:18:15 +02:00
Henrik Rydgård 214995d9d5 Fix more lints, set up a lint baseline for Android 2025-09-02 14:35:29 +02:00
Henrik Rydgård d5682910cc Use AppCompat to implement future-compatible Back handling. 2025-09-02 14:25:46 +02:00
Henrik Rydgård ebe4fccbb1 Change some uses of TargetApi to RequiresApi 2025-09-02 13:51:36 +02:00
Henrik Rydgård 6c238e0109 Small upgrade to the ParamSFO window: Show the original params, add copy to clipboard 2025-09-02 00:50:12 +02:00
Henrik Rydgård d9d3bc38a2 Fix a potential race condition in Vulkan shutdown 2025-09-01 00:15:04 +02:00
Henrik Rydgård 4aec1d1798 Some contentUri function cleanup 2025-09-01 00:15:04 +02:00
Henrik Rydgård 46a35003ea Track the Android activity lifecycle, log errors if we see problems. 2025-08-31 14:37:37 +02:00
Henrik Rydgård 9218fe9b59 Rework the shutdown logic in the OpenGL backend. Eliminated race conditions. 2025-08-31 10:57:06 +02:00
Henrik Rydgård b813a6c30f Logging improvements 2025-08-31 00:59:51 +02:00
Henrik Rydgård 539abb8d4f More minor cleanups 2025-08-31 00:59:51 +02:00
Henrik Rydgård cee9494476 Consolidate the touch event handling between the two SurfaceView classes 2025-08-31 00:59:51 +02:00
Henrik Rydgård 37677e22a0 Android: Consolidate shared code between the surface view classes 2025-08-31 00:59:51 +02:00
Henrik Rydgård c58abd14aa Remove support for Moga controllers.
Moga was an early "standard" (well, supported by a single company) for
joystick input before Android got official support, which was a long,
long time ago. I can't imagine many of these are still in use. Plus, the
Moga integration library broke back in Lollipop so we've carried around
an ugly workaround.

Let's just get rid of this stuff.
2025-08-29 21:27:47 +02:00
Henrik Rydgård c57163ec86 Remove a lot more redundant Android version checks 2025-08-29 11:35:48 +02:00
Henrik Rydgård 827b59f4cd Remove a lot of obsolete Android version checks 2025-08-29 11:15:16 +02:00
Henrik Rydgård 8cdf1a435b Bump the androidx appcompat version. Not quite to the latest but not far behind. 2025-08-29 11:03:08 +02:00
Henrik Rydgård 50e9f5726c .. 2025-08-29 10:40:29 +02:00
Henrik Rydgård 3e62157487 Fix some assorted static analysis warnings 2025-08-25 10:14:15 +02:00
Henrik Rydgård 027e6345d9 Some comments, log improvement 2025-08-14 22:09:27 +02:00
Henrik Rydgård 8c13d209d5 Minor code cleanups 2025-07-11 15:09:15 +02:00
Henrik Rydgård 258a3ae6db Fix image file browsing on Android again. Fixes #20476 2025-06-08 19:31:05 +02:00
Henrik Rydgård 5eb87f0fb4 Logging fixes and cleanups around folder move 2025-05-29 13:13:07 +02:00