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

Add option to open course directory in file manager #154

Open
abhijeetviswa opened this issue Mar 17, 2020 · 1 comment
Open

Add option to open course directory in file manager #154

abhijeetviswa opened this issue Mar 17, 2020 · 1 comment

Comments

@abhijeetviswa
Copy link
Member

It is sometimes useful to open the directory of a downloaded file in a file manager. This option should be available for File modules as well as discussions.

@abhijeetviswa abhijeetviswa changed the title Add option to open file resource in file manager Add option to open course directory in file manager Mar 22, 2020
@abhijeetviswa
Copy link
Member Author

After spending an entire afternoon trying to implement this, I finally realized it isn't something that can be implemented easily.

There is no documented way to signify an Intent to open a folder. The only thing that exists is an OpenIntent Action. However, not every file manager out there supports this. Further, there isn't even a standard Directory mime type.

The only workaround would be to add support for each file manager, something I'm not very keen on doing. Not to mention, not all file managers support opening a directory via an intent anyway.

As part of my reading, I changed about this issue on another Android Open Source project. They haven't found a solution either.

I'm leaving this issue open in the off-chance in the future such an Action is widely supported by file managers.

@abhijeetviswa abhijeetviswa self-assigned this Apr 21, 2020
@abhijeetviswa abhijeetviswa removed their assignment Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant