I encountered this problem a few days ago. I was trying to get the absolute path through Uri. The Uri returned by mobile phones from different manufacturers is different. Some of them start with file:///. You only need to replace the file header to get the absolute path. The above code
I encountered this problem a few days ago. I was trying to get the absolute path through Uri. The Uri returned by mobile phones from different manufacturers is different. Some of them start with file:///. You only need to replace the file header to get the absolute path. The above code