Android SAF (Storage Access FrameWork): Get particular file Uri from TreeUri
问题 I am taking External Sd Card\'s PersistableUriPermission and storing it for further use. Now I want that when user provides me with the file path, from list of files in my application, I want to edit the document and rename it. So I have the file path of the file to edit. My question is how do I get that file\'s Uri from my TreeUri so as edit file. 回答1: Access Sd-Card's files Use DOCUMENT_TREE dialog to get sd-card's Uri . Inform user about how to choose sd-card on the dialog. (with pictures