Henrik Rydgård
306be6e33e
Android: Simplify handling of dialog requests even more.
...
To protect against disappearing activities or whatever is causing the
lost value, I could make it static, but instead I just pack the two
values together into the requestCode.
Will hopefully help the main issue from #17683
2023-07-15 19:02:12 +02:00
Henrik Rydgård
c363cccc58
Java dialog requests: Simplify handling, more unique error codes
2023-07-15 12:24:00 +02:00
Henrik Rydgård
63144340f5
First-boot memstick screen: Attempt to fix some logic holes
...
This handles some cases better that I don't really see how they can
happen, but who knows. Intended to help #17683
2023-07-12 11:29:24 +02:00
Henrik Rydgård
d0b42705a0
Switch over to rc-client
2023-07-08 18:59:37 +02:00
Henrik Rydgård
1d49c9e910
Android: Clean up some joystick checks
2023-07-07 10:45:54 +02:00
Henrik Rydgård
f33660b033
Oops, deleted a line too much. Fixes a weird storage permission issue.
2023-07-06 21:48:39 +02:00
Henrik Rydgård
16efa1d877
Merge pull request #17672 from hrydgard/android-show-exceptions
...
Android: Show some Java exceptions as they happen
2023-07-06 20:24:06 +02:00
Henrik Rydgård
bc35c3341f
Allow putting a user string in reported java exceptions
2023-07-06 19:21:19 +02:00
Henrik Rydgård
9d877106d7
Android: Report various exceptions that we catch to the user if they happen
...
This can let users help debug some obscure cases.
2023-07-06 19:06:27 +02:00
Henrik Rydgård
e1060c80ff
Merge pull request #17671 from hrydgard/android-message-cleanup
...
Android string message cleanup
2023-07-06 19:06:14 +02:00
Henrik Rydgård
84fffec4f3
Switch all NativeMessageReceived to System_PostUIMessage
2023-07-06 17:26:02 +02:00
Henrik Rydgård
ac4506e389
Stop "messages from java" to leak out to NativeMessageReceived except where explicitly allowed
2023-07-06 17:13:04 +02:00
Henrik Rydgård
0151d877b3
Simplify the joystick checking java code a little
2023-07-06 15:03:43 +02:00
Henrik Rydgård
de96926d2e
Android input: Filter axis messages for duplicates. Assorted fixes and cleanup.
2023-07-06 12:29:27 +02:00
Henrik Rydgård
fc3f7da3af
TouchTestScreen: Have 8 entries logged instead of 2.
2023-07-06 11:48:25 +02:00
Henrik Rydgård
a7c21b582e
Move UI/RetroAchievements.{cpp,h} to Core.
...
Necessary to avoid some dependency inversion.
Gotta figure out how this will interact with the libretro stuff..
2023-07-02 12:02:20 +02:00
Henrik Rydgård
d23f659533
Android and iOS buildfixes
2023-06-30 17:35:27 +02:00
Henrik Rydgård
eb21a2e6c9
Break out the OSD data holder from Common/System/System.h, into OSD.cpp/h
2023-06-30 17:15:49 +02:00
Henrik Rydgård
01dda6cb7c
Final Android.mk fix hopefully.
2023-06-26 10:01:41 +02:00
Henrik Rydgård
2ba8eca2c8
Further UWP and Android fixes
2023-06-26 10:01:41 +02:00
Henrik Rydgård
07e6543f6b
Windows for ARM configuration fixes, Android.mk fix
2023-06-26 10:01:41 +02:00
Henrik Rydgård
c0f0c05417
rcheevos initial build setup and basic scaffolding
2023-06-26 10:01:40 +02:00
Henrik Rydgård
38f174eab4
Add query for system text input
2023-06-22 08:58:30 +02:00
Henrik Rydgård
7cc8c6cea4
OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI).
2023-06-20 14:40:46 +02:00
Henrik Rydgård
9f88dbd656
Icon cache for UI rendering
...
This will be needed for achievements, and has uses already now.
2023-06-18 14:11:12 +02:00
Henrik Rydgård
93fbb5cdda
Merge pull request #17591 from lvonasek/feature_openxr_passthrough
...
OpenXR - Add passthrough option (Quest only)
2023-06-17 22:12:53 +02:00
Lubos
cef7c5a1a1
OpenXR - Forgotten changes added
2023-06-17 21:55:47 +02:00
Henrik Rydgård
9f14cfb54e
Merge pull request #17539 from Nemoumbra/broadcast-config
...
ClientConfigSubscriber added
2023-06-16 17:20:46 +02:00
Henrik Rydgård
fffaa41091
Extract the class TabbedUIDialogScreen from GameSettingsScreen.
2023-06-16 13:56:26 +02:00
Nemoumbra
311687a673
ClientConfigSubscriber added
2023-05-31 19:17:43 +03:00
Henrik Rydgård
2675d6ea43
Input event and device enums ( #17514 )
...
* Switch deviceID from int to enum InputDeviceID, globally
* Switch axisId to enum InputAxis
* Change int keycodes to InputKeyCode where it makes sense.
* SDL input buildfix
* SDL keycode buildfix
* Switch on enum warning fixes
* Qt keycode buildfix
* iOS keycode buildfix
* UWP keycode buildfix
* More iOS buildfix
* More iOS buildfix
* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Henrik Rydgård
dfb446f89d
Allow other backends than Vulkan to have GPU memory stats. Implement for GL.
2023-05-24 14:33:01 +02:00
Henrik Rydgård
d7a5edeb6f
GL: Break out GLPushBuffer from GLRenderManager.cpp/h
2023-05-23 08:41:09 +02:00
Henrik Rydgård
663d3c9a71
Do the same for the gold icons
2023-05-17 18:08:18 +02:00
Henrik Rydgård
ffdc9d0c3e
Replace the "pre-composed" icons for older devices with the originals.
...
Remove some un-needed resolutions.
2023-05-17 18:04:25 +02:00
Henrik Rydgård
4f1be34f24
Revert "Remove the Android display resolution selector"
...
This reverts commit ea0eaa31e6
.
2023-05-17 09:37:15 +02:00
Henrik Rydgård
cf9a628a2e
AndroidContentURI: Move code from the header to cpp. Some assorted cleanup, add a unit test for Download paths
2023-05-16 16:08:51 +02:00
Henrik Rydgård
16fbb31a65
Add a null pointer check in NativeActivity
...
due to stack trace from #17364
2023-05-09 23:43:04 +02:00
Unknown W. Brackets
1e2c3f7f30
Android: Explicitly allow content URI intents.
2023-05-06 23:47:19 -07:00
Henrik Rydgård
03bf19c47e
Merge pull request #17398 from lvonasek/cleanup_openxr_android12
...
OpenXR - Cleanup unsupported features, support Android 12
2023-05-03 20:05:16 +02:00
Lubos
0447b2b78a
OpenXR - Cleanup unsupported features, support Android 12
2023-05-03 19:41:23 +02:00
Henrik Rydgård
ee7e8d7c06
Add a unit test, fix listing zip directories
2023-05-02 11:35:45 +02:00
Henrik Rydgård
e0a67c7703
Don't use the cpu_features library on Android arm32.
...
Unbreaks Xperia Play, yay.
Also bumps the compile tools version in the gradle, unrelated but
doesn't hurt.
2023-04-29 23:54:47 +02:00
Henrik Rydgård
91be4cfeb6
typo fix
2023-04-29 16:15:48 +02:00
Henrik Rydgård
6945deec01
Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy
2023-04-28 21:04:05 +02:00
Henrik Rydgård
67754e3c99
Android: Upgrade to the latest gradle version.
...
Android Studio got an upgrade, and as usual comes with new gradle and
integration plugin.
2023-04-18 10:47:36 +02: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
9d98947a9d
Remove excessive camera preview framerate throttle
2023-04-16 10:21:53 +02:00
Henrik Rydgård
449d68a43d
Camera on Android: Choose the preview framerate closest to 30fps.
...
Might help #17283
2023-04-16 10:19:23 +02:00
Henrik Rydgård
5a1e9ed8f1
Add ConfigSettings.cpp/h
2023-04-08 09:22:02 +02:00