Getting a file path from a content URI?

Hi there, I am using PedrozaThumbnail Extension to get thumbnail from video.
I am able to get video from the file path, but not able to make thumbnail using the content URI (for example, content://media/external/file/12345) sth like that.
My question is, how to convert the content URI to the real file path?

Thanks

Hi,

Check this extension. May be help

Have many options, check the block PathFromUri

Grettings

3 Likes

or this:
grafik

2 Likes

Thank you so much!

This is also needed for my app. Thank you guys!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.