Skip to content

#11 Fallback to ACTION_GET_CONTENT if OPEN_DOCUMENT unsupported#12

Open
o3661606 wants to merge 1 commit intohpoul:mainfrom
o3661606:master
Open

#11 Fallback to ACTION_GET_CONTENT if OPEN_DOCUMENT unsupported#12
o3661606 wants to merge 1 commit intohpoul:mainfrom
o3661606:master

Conversation

@o3661606
Copy link
Copy Markdown

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