Henrik Rydgård
14e24b28ad
Use a DocumentsContract query for single-file GetFileInfo too.
2021-07-24 00:33:05 +02:00
Henrik Rydgård
bd99e4a287
Greatly speed up content URI file listings by using DocumentContract queries.
2021-07-24 00:33:05 +02:00
Henrik Rydgård
4f10ff9d31
Add quick method to check file existence by content URI.
...
Seems to speed up bringing up the pause screen slightly (checking for
save state files).
2021-07-19 17:34:51 +02:00
Henrik Rydgård
15fafe5415
Fix date/time display for savestates
2021-07-19 17:34:51 +02:00
Henrik Rydgård
fff3850096
Add ability to rename content URI files, fixing saving save states.
...
buildfix
2021-07-19 17:34:50 +02:00
Henrik Rydgård
308c7d693c
Address more feedback
2021-06-07 00:49:31 +02:00
Henrik Rydgård
3737daaf0c
Address more feedback, warning fix
2021-06-07 00:26:26 +02:00
Henrik Rydgård
2f31cb12fb
Add support for writing to file. Basics work now (having memstick on a content path)
2021-06-07 00:24:52 +02:00
Henrik Rydgård
468f3d8b3f
wip
...
More work towards moving PSP directory
2021-06-07 00:24:52 +02:00
Henrik Rydgård
b397e5c455
Assorted plumbing.
...
wip
Buildfix
2021-06-07 00:24:51 +02:00
Henrik Rydgård
beb0b4e9f3
More work on AndroidStorageFileSystem.cpp. Fix current directory getting reset.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
ef607a5fe2
Implement a "FileSystem" that wraps Android content storage. So far unused.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
e3cf04bb34
Implement file filters for Android in PathBrowser
...
asdf
Move Android file listing parsing logic into app-android.cpp.
Add utility for parsing/writing Android Content Storage URIs.
Fix some bugs. Allow upwards navigation in file browser from directories downstream from tree URIs.
2021-06-07 00:24:51 +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
bfee168175
Don't even bother checking touch.id == 0 for closing popup windows. It's fine to close with any touch.
...
Fixes issue with touch on Windows mentioned in #14387
Also includes a warning fix.
2021-04-17 22:34:35 +02:00
Henrik Rydgård
5087cb6689
Android: Fix "Load..." to allow all file types. Change backported from PR #14232
2021-03-14 11:24:00 +01:00
Henrik Rydgård
e60b38b6cb
Address feedback, remove probably-misleading comment (had already fixed it).
2021-02-27 22:19:03 +01:00
Henrik Rydgård
2364c1c5e6
Fix exit "race", add persistable permissions
2021-02-27 14:08:38 +01:00
Henrik Rydgård
54c9e28444
Android: Implement opening ISOs through a file picker and Storage Access Framework
...
Has issues with the recent list - fails to open during shutdown due to
no activity, there's a little race to fix.
2021-02-27 13:49:20 +01:00
Henrik Rydgård
26eab06886
Add a Storage tab to System Information.
...
Add a system property that we can later query to see if we should use
scoped storage adaptations or not.
2021-02-27 11:49:38 +01:00
Henrik Rydgård
db545ac034
Enable using the folder browser on Android to select SD card through a gross hack.
...
Should help #13827
Not yet using storage framework properly, just stealing the URI.
2021-01-09 11:20:20 +01:00
Henrik Rydgård
401d9ca469
Add a file picker (WIP)
2021-01-09 01:09:21 +01:00
Henrik Rydgård
75be1e999d
Try another method for getting SD card storage paths (env vars).
...
See #13827
2021-01-08 20:05:33 +01:00
Henrik Rydgård
17f65a251b
Add more error checking in SD storage detection
...
See #13827
2021-01-08 11:23:46 +01:00
Henrik Rydgård
0bdf565fb2
Fixes for SD card detection on slightly older devices.
2021-01-07 22:55:44 +01:00
Henrik Rydgård
1c753e4a22
Use hacky methods to retrieve SD card directory if available.
...
This will disappear in future Android versions but can be useful for
older devices.
Fixes (or at least tries to) #10199 , at least for some devices.
Might help #13827 ?
Tested on Pocophone F1.
2021-01-07 00:55:35 +01:00
Florin9doi
a42f5234c5
[Android] Start recording immediately after asking for permission
2020-10-24 19:51:31 +03:00
Florin9doi
9379fe1399
[Android] Audio record using OpenSL
2020-10-24 19:51:30 +03:00
Henrik Rydgård
d55a6052fa
Fix some lint warnings, and a "toast" on graphics init failure (instead of previous crashes)
2020-07-28 20:18:45 +02:00
Henrik Rydgård
73166def93
Android: Reduce asserts during startup.
2020-07-28 19:06:29 +02:00
Henrik Rydgård
aebbff55f1
Some renaming and cleanup in the Android audio code
2020-07-28 14:24:40 +02:00
Henrik Rydgård
b6f6e954a3
Android: Can't call AlertDialog.Builder.setOnDismissListener before JELLYBEAN_MR1
2020-07-28 14:24:40 +02:00
Henrik Rydgård
153f00041e
Merge pull request #12979 from unknownbrackets/android-size
...
Android: Request stable layout and update on focus
2020-07-12 23:25:55 +02:00
Henrik Rydgård
036191cf34
Remove unnecessary logging of preview formats
...
See comment in #13094
2020-07-05 22:24:32 +02:00
Henrik Rydgård
ef250e30d7
Merge pull request #13094 from hrydgard/camera-crash-fix
...
Camera initialization crash fix
2020-07-05 01:52:57 +02:00
Henrik Rydgård
7bb524810d
Check that we actually got a preview size.
2020-07-05 01:33:27 +02:00
Henrik Rydgård
b5053b947c
CameraHelper: Do a better job of choosing an appropriate preview size.
...
Add sanity checks so we get a black image instead of crash if we would
still fail.
2020-07-05 01:31:28 +02:00
Henrik Rydgård
7a58c8afbf
Add a try/catch to Android camera device listing. Might help #13091 and the issue seen in #13057 .
2020-07-04 23:21:05 +02:00
Unknown W. Brackets
3cf2e7edca
Android: Request stable layout and update on focus.
...
This seems to keep immersive better when switching apps.
2020-05-25 17:20:59 -07:00
Unknown W. Brackets
ccc7ae54af
Android: Avoid multiple resizes in a row.
...
This was sometimes happening when ui callbacks etc. would trigger in
certain patterns of using the app. Might have been related to sizing
problems.
Delaying the resize by 10ms when the surface is unchanged seems okay.
2020-05-09 14:47:48 -07:00
Unknown W. Brackets
03fc86a147
UI: Return to game settings after restart.
...
This is more convenient. Also restarts the game if needed.
Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -07:00
Unknown W. Brackets
f60d80b24e
Android: Move a bit more size handling.
2020-05-09 11:26:06 -07:00
Unknown W. Brackets
040ba2b3ff
Android: Reassert sustained perf when going ingame.
2020-05-09 11:10:48 -07:00
Unknown W. Brackets
581a288852
Android: Refactor size maintenance to own class.
2020-05-09 11:10:04 -07:00
Florin9doi
4640d3981c
Update <Share> dialog on Android 10
2020-04-25 13:19:41 +03:00
Henrik Rydgård
80ae2846d6
Android: Change the display length for "toast" message to Toast.LENGTH_LONG
2020-04-02 01:04:17 +02:00
Henrik Rydgård
7dfe8959b3
Fix landscape/reverse landscape cutout padding issue, see #12779
2020-03-31 15:52:32 +02:00
Henrik Rydgård
3838a1c94f
Support drawing around notches on Android displays. Fixes #12261
2020-03-31 00:47:01 +02:00
Henrik Rydgård
a2da6ceb47
Target Android SDK 29.
...
Includes a nasty SDK bug workaround.
2020-03-30 22:56:24 +02:00
Unknown W. Brackets
56a1b6d03a
Android: Reassert immersive after input dialog.
...
See #12732 .
2020-03-22 18:55:22 -07:00