431 Commits

Author SHA1 Message Date
Henrik Rydgård 8fe3dcdb83 Android: Allow clipdata as input for the file browser.
Fixes #18874
2026-06-06 14:12:57 +02:00
Henrik Rydgård 01d65ada40 Merge pull request #21760 from misantronic/feature/achievementshost-cli-override
Android: add achievements host override receiver
2026-06-01 11:05:22 +02:00
david.schkalee d477afa9b2 Android: add achievements host override receiver 2026-06-01 01:44:04 +02:00
Henrik Rydgård e8e357e360 Implement the "Mix audio with other apps" setting on Android. 2026-05-31 19:08:45 +02:00
Henrik Rydgård b2faec0533 Windows: Restore the GDI-based text drawer, use it if RenderDoc is attached
The D2D-based text renderer requires a D3D11 context, which confuses
RenderDoc (it doesn't permit multiple 3D APIs in the same process).

So, let's restore the old GDI renderer and use it if RenderDoc is attached.

See #21638
2026-05-20 10:25:29 +02:00
Henrik Rydgård 6eb0b3fd51 Fix an issue with Exit icon not showing up in MessagePopup 2026-05-13 11:04:03 +02:00
Henrik Rydgård 3f0fa315b2 Refactor the Java file picker code 2026-05-11 11:45:04 +02:00
Henrik Rydgård e23d866a95 Plumb through an error code for missing activity. Will later be used to improve the UI. 2026-05-11 10:52:36 +02:00
Henrik Rydgård 28f2a1657a Android: Use a proxy activity for the browse for file/folder activities
Might help #21582
2026-04-28 17:37:40 +02:00
Henrik Rydgård 02a624075a Android: Make the "Auto" rotation mode override user rotation lock (SENSOR mode) 2026-03-31 10:43:27 -06:00
Henrik Rydgård fead647304 Android: Improve insets behavior on older devices without camera cutouts 2026-03-14 22:53:17 +01:00
Henrik Rydgård 60eb1e5b8c Support inset on older devices. Although, in the case of no camera cutout, the insets are a little large because the nav bar becomes the minimum for symmetry.. 2026-03-14 22:24:54 +01:00
Henrik Rydgård 75453632f9 Handle inset adjustements on the C++ side, handle them better in the UI. 2026-03-14 18:13:37 +01:00
Henrik Rydgård d596e43b4b Android: Scale down selected background images when too large. Fix activity issue. 2026-03-08 14:53:20 +01:00
Henrik Rydgård 3352ba44bb Remove misguided hack to signal that we handled key repeats.
Fixes #21336
2026-03-05 01:55:41 +01:00
Henrik Rydgård fd22c4235d Android: ImagePickers don't play well with singleInstance activities, so apply a workaround. 2026-03-05 00:30:24 +01:00
Henrik Rydgård 8045b3cf79 Improve the look of the status bar on modern Android (no shadow). 2026-03-04 12:44:12 +01:00
Henrik Rydgård 17f6583a78 Fix the problem with black screen in split screen mode
Fixes #21333, does some cleanup.
2026-03-04 12:34:25 +01:00
Henrik Rydgård 657b3282ab Android keyboard: After processing a char event, fall through and also generate a keydown.
Fixes #21309
2026-02-26 23:30:43 +01:00
Henrik Rydgård 853810b59f Some java modernization, cleanup 2026-02-25 00:52:25 +01:00
Henrik Rydgård 31e032353a Android: Make the native text input popup much nicer to use
Thanks Gemini.
2026-02-24 10:47:12 +01:00
Henrik Rydgård 505a72bb3f Work around java exception seen in reporting. Buildfix. 2026-02-18 01:34:56 +01:00
Henrik Rydgård e3e6148459 Add a way to query the installer name on Android. 2026-02-14 10:48:40 +01:00
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ård 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