-
Notifications
You must be signed in to change notification settings - Fork 27
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
Custom File Chooser Implementation for SDcard location choosing #138
base: master
Are you sure you want to change the base?
Conversation
But I don't think this solves the general problem. The main problem is not selecting the folder. With Android >= 4.4, access to all files and folders on an sd card is permitted, and can only be granted to the app by a special intent. This also hasn't been solved in my PR. Or am I missing something? See this comment from an Google developer: https://groups.google.com/forum/#!msg/android-platform/14VUiIgwUjY/UsxMYwu02z0J Or am I missing something? Sadly I can't just test it, because I have no device with an external sd card (only the emulator)... |
See this line: This solution is just for before kitkat, where the file access is not limited provided that you can find the path to the specific directory you want. Since after kitkat access to all files need special intents as you mentioned, we need to use the storage access framework you implement. I am aiming to create a fallback solution for before kitkat that cannot use the framework. |
Ok. That sounds reasonable. I'll keep watching this PR. |
Ready for review. |
I'm keen for this problem to be solved, and I have devices with external SD cards. Happy to take a look at this when I have some time. Maybe later in the week. |
This pull request implements a new file chooser.
Since there is still no definite solution to the external SDCard problem we are facing, I am thinking about solving it in a more generic manner.
Problem:
Old Solution:
Problem persists:
New Solution:
Use case: change vault root to external SD
TODOs