Android open DocumentPicker directly in Downloads directory

EXTRA_INITIAL_URI works for ACTION_OPEN_DOCUMENT but not for ACTION_OPEN_DOCUMENT_TREE.

You can put the uries of documents the user previous choosed.

For ACTION_OPEN_DOCUMENT_TREE you can let the picker open on primary partion or de secondary (removable sd card) without using that extra. Only on Android Q+ i think.

There is nothing to let the latter open in the directories you want as far as i know.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top