muhammadali213123
Member
I know this question has been asked and also answered many times.
But sometimes some code works on specific paths and sometimes not.
I wanted a universal code and universal way to convert content:// url to file path that can be applicable for every content://type
Because I don't want to waste developers time daily by asking convert content://xyz or content://abc etc.
Suppose I have example content:// path
I want to convert that it to this
ask if needed any additional info.Thanks
But sometimes some code works on specific paths and sometimes not.
I wanted a universal code and universal way to convert content:// url to file path that can be applicable for every content://type
Because I don't want to waste developers time daily by asking convert content://xyz or content://abc etc.
Suppose I have example content:// path
B4X:
"/content:/com.android.externalstorage.documents/document/6759-130B%3ANew%20Text%20Document.txt"
I want to convert that it to this
B4X:
"storage/6759-130B%3ANew%20Text%20Document.txt"
ask if needed any additional info.Thanks