i’m trying to create an app in which upon clicking a button all the pdf files will be shown and after selection the selected file can be viewed within the app and also uploaded to firebase
i’m using the file picker extension from deep host that is able to display list of pdf files but after selection, the file path its providing is something like document:8987
i need help in displaying the list of pdf files and then selecting a file and getting its file path.
i also tried using activity starter but i don’t know what to do beyond this
I already tired them both, the extension causes the app to crash after picking the pdf and taifun’s solution says no pdf selected and does not return path instead gives /document%3A8987 also tried to convert this into file path using taifuns file extension but that dosen’t work either (android 11). @Taifun@Boban
Yep seems to be a problem of the extension with android 11
tested it with android 9 works fine. does anybody know how to get file path from content uri other than using these extensions? @vknow360@Taifun