Uri, Android could provide better security and extend storage beyond the local file system to any provider. To me at least this didn't become usable for general purpose storage browsing until Android 5.0 Lollipop with the introduction of the
ACTION_OPEN_DOCUMENT_TREEflag which allowed developers to make entire directories available to applications, like Jnes.
DocumentFileis generally not as easy to use as Java's traditional
SingleDocumentTreeis missing functionality that you may need
Uri, although most people rightfully try to