Skip to content
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

[feature request] share folder content (recursive) instead of folder-name #717

Open
k3b opened this issue Mar 21, 2022 · 0 comments
Open

Comments

@k3b
Copy link

k3b commented Mar 21, 2022

In MaterialFiles you can select one or more files and share them to other apps (i.e. send via bluetooth or via email)

When "the share" contains a directory-entry the share-consuming-app only gets the folder alias of the used FileProvider which cannot be processed further because FileProvider does not support browsing folders (see comment in https://stackoverflow.com/questions/48062097/how-to-open-a-directoryfolder-in-android-using-file-provider ).

As a result the share-consuming-app may crash (see MaterialFiles#575 or ToGoZip#28)

Instead of sharing the selected folder name share all files that are inside the folder (recursivly)


Example: (current working)

In MaterialFiles select the folder "sd_sub_test" and press "share"
MaterialFiles shares "sd_sub_test" with mimetype="vnd.android.document/directory"

requested change:

MaterialFiles shares all files inside the folder "sd_sub_test" (i.e. "sd_sub_test/test.txt", "sd_sub_test/Image.png") instead of sharing the folder name

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

No branches or pull requests

1 participant