How can I get the real path of a downloaded file selected in a app with contentchooser? I already tested the code in https://www.b4x.com/android/forum/t...s-returned-from-contentchooser.39313/#content but I noticed that when getting a document from downloaded files folder it doesn't work!
Imagine the situation: an user selects some file in android. A file could be: pdf, doc, jpg, mp4/mpeg or png. Even using input/outputstream to copy the file to an known folder, I need to define an extension to target file. And without the real name, I don't know the extension.
Any suggestion?
Imagine the situation: an user selects some file in android. A file could be: pdf, doc, jpg, mp4/mpeg or png. Even using input/outputstream to copy the file to an known folder, I need to define an extension to target file. And without the real name, I don't know the extension.
Any suggestion?