You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
I have two apps into which which a added aFileChooser (patched version with extension filter and base path).
When I started the demo for testing I saw:
Now I have three identical choose files options.
That makes me wonder if there is not fundamental design flaw inside aFileChooser. I beginn to think that one library can not be an external and internal file chooser at the same time.
The text was updated successfully, but these errors were encountered:
So, when 4.4 introduced the Storage Access Framework and this DocumentProviderActivity, they made it so the Activity intercepting the GET_CONTENTIntent must be exported. If you're going to export FileChooserActivity you should be using your own icon so the user is able to tell that it's your app they can select a file from. I will update the README to include this direction.
FileChooserActivity can be used independently from GET_CONTENT method, which has it's own utility. For this type of usage, the icon doesn't matter, and exported should be false.
Also, as noted in the README:
Using FileChooserActivity and LocalStorageProvider together are redundant if you're only trying to insure your user has access to local storage. If this is the case, you should enable/disable based on the API level (above: @bool/use_provider and @bool/use_activity).
Remember, if you're only trying to determine if the user has an app that supports the GET_CONTENTIntent that you want, you can always check for it at runtime with something like this:
I have two apps into which which a added aFileChooser (patched version with extension filter and base path).
When I started the demo for testing I saw:
Now I have three identical choose files options.
That makes me wonder if there is not fundamental design flaw inside aFileChooser. I beginn to think that one library can not be an external and internal file chooser at the same time.
The text was updated successfully, but these errors were encountered: