Activity Starter returns filenames from camera as content://media/external/media/images/99470

Hi
I’ve been using activity starter to take camera shots.
The reason why I’m not using camera component because it duplicates two files of the same picture - one into Pictures folder and another into DCIM/Camera folder.

The problem now I’ve encountered is:
How do I try to move or copy the file returned from Activity Starter Result URI since the filename is like:
content://media/external/media/images/99470

Any idea how to convert this to something like IMG_20160406_164329.jpg?

Thanks!

1 Like

you can use @Taifun,s file extension to change the URI into The File Name, Using this block
contentUri

Download Link

https://puravidaapps.com/file.php

1 Like

Hi!
Yes it works!
Thank you very much for the quick reply and solution :grinning:

1 Like

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