Henrik Rydgård and Claude Fable 5.1
d0e45b94d9
Android: Handle rotation and window resizing without recreating the activity
...
Every rotation, fold or window resize destroyed the activity and with it
all of graphics, then built it all up again. Declare those config changes
handled, so they arrive as a surfaceChanged and go through the same resize
path as a desktop window resize.
That path needed three things it didn't have on Android:
- The GPU_DISPLAY_RESIZED message, left out for Android since 2020 when
DeviceRestore covered every size change.
- A fixed (hardware scaled) surface size is now recomputed on each in-place
surface change, since surfaceCreated no longer runs on a rotation.
- A 180 degree flip keeps the size but changes the surface transform, so
the display rotation is passed along and a change in it is a resize too.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
2026-10-08 21:17:49 +02:00
Henrik Rydgård and Claude Fable 5.1
105bf522d7
Android: Declare the main activity resizeable explicitly
...
We never said either way, so the system treats it as resizeable only by
virtue of the target SDK (RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION). Samsung
DeX wants it spelled out before it offers free resizing and maximize, and
a user reports being stuck in a small fixed window there. Not verified on
DeX.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
2026-10-08 20:11:23 +02:00
Henrik Rydgård
697179c8cd
Add some plumbing for the Android 17 local network access permission
2026-06-15 09:45:09 +02:00
david.schkalee
d477afa9b2
Android: add achievements host override receiver
2026-06-01 01:44:04 +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
e79deb423a
Android: Request temporary opt-out from orientation control removal (Android 16 only)
2026-04-23 16:56:03 +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
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
853810b59f
Some java modernization, cleanup
2026-02-25 00:52:25 +01:00
Henrik Rydgård
21026a38d7
Change Android launch mode to singleInstance, work-around minor text wrapping issue
2025-11-23 20:04:19 +01: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
01a1b58f41
Android: Set appCategory="game"
2025-06-08 11:48:23 +02:00
Henrik Rydgård
9cf5d1bc25
Android: Enforce that there's never more than one instance of PpssppActivity, listen to onNewIntent.
...
Fixes shortcut-launch in-game. Although need to add some better handling
for the paused case.
2025-05-21 21:42:08 +02:00
Henrik Rydgård
beb3eafa1f
Declare that we can handle mouse events
2025-03-05 23:26:30 +01:00
Henrik Rydgård
a431560831
Remove pretense of supporting the Ouya (we don't anymore)
2025-02-24 15:57:38 -06:00
Henrik Rydgård
7ce876d3f1
New icon images, reorganize files, update banner
2024-11-03 12:29:55 +01:00
Henrik Rydgård
14a78e51b0
Android: Fix a bunch of lints
2024-10-10 10:06:46 +02:00
Henrik Rydgård
611551ccf1
Android TV banners: Update gold banner, remove obsolete TV "icon"
2024-10-03 16:52:41 +02:00
Henrik Rydgård
3bebd2101a
Revert "OpenXR - One APK for Android and standalone VR"
2024-04-03 10:57:02 +02:00
Lubos
63307aec2e
OpenXR - One APK for Android and standalone VR
2024-03-21 12:29:22 +01:00
Henrik Rydgård
01370ab099
Fix some gradle deprecation warnings
2024-01-17 23:43:00 +01:00
Florin9doi
cad232e60e
sceSircs/Infrared support on Android
2024-01-12 20:29:53 +02:00
Dzmitry Dubrova
a461800973
Implement custom driver loading for ARM64 Android devices
2023-12-14 08:53:03 +03:00
Henrik Rydgård
7558544183
Android: Add *.chd and *.CHD to allowed path patterns for shortcut/intents
2023-11-26 19:08:09 +01:00
Unknown W. Brackets
1e2c3f7f30
Android: Explicitly allow content URI intents.
2023-05-06 23:47:19 -07:00
Henrik Rydgård
075ccc0821
Android: Update target version to SDK 33
...
Which corresponds to Android 13.
Additionally removes redundant version lines from the manifest, and
includes a small warning fix.
2023-04-18 10:27:06 +02:00
Henrik Rydgård
055ac2b697
Add new default icon
2023-03-02 11:45:47 +01:00
Henrik Rydgård
cd535263c1
Update version number
2023-01-03 11:14:31 +01:00
Henrik Rydgård
0f4f9997fd
Update version number
2023-01-02 10:19:53 +01:00
Henrik Rydgård
492c0b4ab3
Update version number
2022-12-30 13:37:04 +01:00
Henrik Rydgård
2d1f8f03fa
Update version number in AndroidManifest.xml
2022-12-20 14:25:46 +01:00
Henrik Rydgård
aad5d7542e
Update version number in AndroidManifest.xml
2022-12-15 14:01:38 +01:00
Lubos
a5100d2de0
Support Android file intents with up to 3 dots in path
2022-11-05 21:44:21 +01:00
Henrik Rydgård
9fe6338e3b
Update version to 1.13.2
2022-09-10 15:50:49 +02:00
Henrik Rydgård
5083b20636
Update version for 1.13.1
2022-07-28 15:28:47 +02:00
Henrik Rydgård
a92e764c65
Update version for 1.13 release
2022-07-26 15:19:02 +02:00
Henrik Rydgård
1cd520ae31
Merge pull request #15001 from hrydgard/update-android-target
...
Update target Android version from 11 to 12. (API 30 to 31).
2021-10-19 09:43:59 +02:00
Henrik Rydgård
ce0a45cf0f
Update version to 1.12.3
2021-10-18 20:19:42 +02:00
Henrik Rydgård
e91b8af27a
Update version to 1.12.2
2021-10-10 13:03:48 +02:00
Henrik Rydgård
2845f173ea
Update target Android version from 11 to 12. (API 30 to 31).
...
We just updated from 10 to 11 which enabled scoped storage, but now
that 12 is final, we might as well target that. Some new APIs are
available that might be useful, like a crash dump
API and more refresh rate control.
2021-10-09 22:05:41 +02:00
Henrik Rydgård
bbe06ace22
Update version for 1.12.1
2021-10-09 10:19:44 +02:00
Henrik Rydgård
076ece8507
Update AndroidManifest.xml for 1.12
2021-10-06 20:15:50 +02:00
Henrik Rydgård
7c1c06ed66
If in legacy storage mode from an earlier install, we still might need to ask for permission.
...
So can't cap on that, until Android removes legacy storage access entirely, probably in
Android 13...
Should help nassau-tk's issue in #13847 .
2021-08-07 11:01:44 +02:00
Henrik Rydgård
80fc09a222
Indentation fix
2021-08-04 23:22:43 +02:00
Henrik Rydgård
59088e0921
Android 28 was the wrong cutoff for oldschool permissions, 29 is correct.
2021-08-04 23:22:43 +02:00
Henrik Rydgård
793e79945f
Enable scoped storage enforcement on Android 11+.
...
This has a number of UX issues and bugs we need to work through, but at least
games are playable, things mostly work. Upgrades are handled smoothly by
keeping existing storage access until you uninstall. After a reinstall, you'll
need to re-select your old PSP directory manually in settings :(
2021-08-04 23:22:43 +02:00
Henrik Rydgård
27dbcd3b34
Revert "Turn on scoped storage, for the purposes of testing on this branch."
...
This reverts commit 4b337303a4b2aa49aac6296609331e7c87e61085.
2021-06-07 00:26:26 +02:00
Henrik Rydgård
87a25fd230
Start experimenting with DocumentsContract (the thing DocumentFile wraps)
...
wip
Some progress towards making the file browser work with DOCUMENT_TREE
More directory browsing progress
More Scoped Storage hackery. Can now browse to a folder and use PPSSPP's game browser to load ISOs from it.
Remove the defunct fdopendir approach. Buildfixes.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
88b2552d64
Turn on scoped storage, for the purposes of testing on this branch.
2021-06-07 00:24:50 +02:00
Unknown W. Brackets
8241cd5d81
Merge tag 'v1.11.3' into merge-v1.11.3
...
v1.11.3
2021-04-26 19:14:50 -07:00