I am using Storage Access Framework(SAF)
in my app. In order to scan a file(photo or document) i need send a local file path trough an API. I've managed to setup the SAF
correctly, and now when a user chooses a file and i am getting a Uri as it supposed to be.
As it seems the Uri is a key for the cloud and not a local file.
The Uri value looks like that:
content://com.android.providers.media.documents/document/image:11862
How can i convert this Uri into a local file? Should i download the file from the cloud? How can i do it?