Commit graph

288 commits

Author SHA1 Message Date
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
Unknown W. Brackets
db21d0e7fc Android: Avoid crash without ext dir.
This can return null on some older Androids.  See #14821.
2021-09-11 20:12:17 -07:00
Henrik Rydgård
dc520a59d3 Log the duration of directory size computations too 2021-09-11 18:17:14 +02:00
Henrik Rydgård
fcc0337576 Fix the Android recursive size computation and hook it up. 2021-09-11 18:12:30 +02:00
Henrik Rydgård
e842d395fa Add untested function Android_ComputeRecursiveDirectorySize 2021-09-11 18:11:53 +02:00
Henrik Rydgård
c9bcbf326f More shortcut fixes 2021-09-09 00:00:54 +02:00
Henrik Rydgård
273376ab8d Set a couple flags on the ShortcutIntent 2021-09-08 23:43:35 +02:00
Henrik Rydgård
bad0736fa3 Avoid calling into C++ when creating game shortcuts. Use scoped storage-compatible file chooser when possible. 2021-09-08 23:26:01 +02:00
Henrik Rydgård
8e9cdf97cf Implement support for new file chooser on Android 11+. 2021-09-08 21:33:50 +02:00
Henrik Rydgård
51b6c73a2b Experiment: Remove probably-redundant motionevent class check
Could maybe help #14766
2021-08-28 20:27:41 +02:00
Henrik Rydgård
8f86ddba2a Android: More strict identification of keyboard events. 2021-08-28 14:47:40 +02:00
Henrik Rydgård
527ec8eff2 Fix bug with device IDs on Android, causing the on-screen back button to be misinterpreted. 2021-08-28 14:07:22 +02:00
Henrik Rydgård
c151b7858b Bugfix 2021-08-22 00:12:47 +02:00
Henrik Rydgård
1fc43b4ea2 Android: Remove the old limitation of 3 registered input devices. 2021-08-21 23:44:16 +02:00