Commit Graph
301 Commits
Author SHA1 Message Date
Henrik Rydgård 4221a09edf Increase the max size of rendered text, for Android devices with insane resolutions. 2023-07-17 13:32:15 +02:00
Henrik Rydgård 2537f76277 UI: Add a basic FileChooserChoice view 2023-07-16 12:14:40 +02:00
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 1d49c9e910 Android: Clean up some joystick checks 2023-07-07 10:45:54 +02:00
Henrik RydgårdandGitHub 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årdandGitHub 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 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 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
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 ac47476253 And share_text, toast, recreate 2023-03-22 23:52:25 +01:00
Henrik Rydgård 2c9787643d Move the twitter special-case URL handling to java 2023-03-22 23:52:25 +01:00
Henrik Rydgård b7350f3cbf Fix folder browser on Android and Windows 2023-03-22 19:25:35 +01:00
Henrik Rydgård 7718c06dd1 Port UWP file browser, fix UWP image browser 2023-03-22 15:36:14 +01:00
Henrik Rydgård 0403bbf084 Make the new image selection path work on Android as well. 2023-03-22 14:53:07 +01:00
Lubos abf76bd212 OpenXR - One APK for both Pico and Quest 2023-02-08 17:26:36 +01:00
Henrik Rydgård f38dd95368 Why not just schedule directly... 2023-01-12 12:24:45 +01:00
Henrik Rydgård 241d867ed7 Android: Take the key change from PR #16583, updating display measurements form the right thread 2023-01-12 12:20:17 +01:00
Henrik Rydgård ea0eaa31e6 Remove the Android display resolution selector
I think its benefit is absolutely tiny if any, and causes a lot more
problems than it's worth. Bye.

Note that this isn't the rendering resolution selector, that will of
course still be there, but it's the "hardware scaler" resolution.
2023-01-11 22:53:42 +01:00
Henrik Rydgård 07114c6aaf Remove return value from axis functions in API 2023-01-10 10:12:37 +01:00
Henrik Rydgård fdfc4cbe40 Android: Remove return value from touch event functions 2023-01-10 10:12:33 +01:00
Henrik Rydgård bd6cdeb4ce Remove "toast" message on failure in displayInit, not allowed from that thread. 2023-01-02 16:31:30 +01:00
Henrik Rydgård 463d703feb More assorted cleanup 2022-12-29 00:39:59 +01:00
Henrik Rydgård 6927c44fba Remove unused functions, log and comment fixes 2022-12-29 00:39:59 +01:00
Henrik Rydgård 31d5881c90 Enable support for Android Vulkan validation. Fix a minor validation error. 2022-12-22 11:13:52 +01:00
Henrik Rydgård afbf732d7e Delete even more dead code in app-android.cpp 2022-12-22 10:17:52 +01:00
Henrik Rydgård 182fb5c373 Add .gitignore to ignore Vulkan validation layers on Android if added locally 2022-12-20 23:19:15 +01:00
Lubos 32c0f19df6 OpenXR - Freezing on Pico 4 fixed 2022-11-10 22:16:36 +01:00
Lubos d2a79f9ea3 OpenXR - Workaround for not working inputbox 2022-10-31 17:34:01 +01:00
Lubos 7b058a534c typo 2022-10-14 18:32:45 +02:00
Lubos e1924be464 OpenXR - Ensure the app gets unloaded when killed by OS 2022-10-14 18:28:22 +02:00
Unknown W. Brackets 7b8350f8a8 Android: Differentiate empty dir from failure. 2022-10-09 14:42:31 -07:00
Lubos 1fdbde8ee9 OpenXR - Support multiple loaders 2022-09-24 22:11:08 +02:00
Lubos ca77240f36 OpenXR - Rename Quest build variant 2022-09-24 21:16:57 +02:00
Lubos 98f726af3b OpenXR - Use OpenGL ES 3 and ensure FBO pair calls 2022-08-19 16:59:39 +02:00
Lubos 4603ccdd92 OpenXR - Initialization errors fixed 2022-08-19 15:17:42 +02:00
Unknown W. Brackets 536c050943 Core: Track names of connected pad devices.
Rather than just that it's a pad.  This tries to get the identifier if
possible.
2022-07-04 19:14:04 -07:00
Henrik Rydgård 7f505c0c23 Gradle upgrade again. Remove some redundant version checks
(we don't support Android versions older than Gingerbread anyway)
2022-02-19 18:41:29 +01:00
Henrik Rydgård e6857388c7 Add input device debug info to touchscreen test screen
(yeah maybe there's a better place but it's fine).

Also make a slight tweak to the detection order which I don't think
matters much.
2021-10-10 11:50:20 +02:00
Unknown W. Brackets 460ceadcc3 Android: Prioritize PAD devices. 2021-10-09 16:12:54 -07:00
Henrik Rydgård 21686a6a93 Android: Catch some exceptions 2021-10-07 21:07:35 +02:00
Unknown W. Brackets dab1a3aa3c Android: Fix UI background on scoped storage. 2021-09-13 10:27:42 -07:00