Skip to content

#11 Fallback to ACTION_GET_CONTENT if OPEN_DOCUMENT unsupported #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

o3661606
Copy link

As I cannot simulate the case on phone, therefore I "force" it to run on Android 18 emulator by changing minSdk

Below is some log entries for your reference, doesn't know if the returned uri is an expected result.

D/FilePickerWritable( 2572): Got method call: openFilePicker
D/FilePickerWritable( 2572): Cannot launch file picker using Intent.ACTION_OPEN_DOCUMENT, falling back to Intent.ACTION_GET_CONTENT
D/FilePickerWritable( 2572): onActivityResult(40832, -1, content://media/external/../..../......)
D/FilePickerWritable( 2572): Got result content://media/external/../..../......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant