Android Question Show images from the Downloads directory

vecino

Well-Known Member
Licensed User
Longtime User
Hello, from my program I need to show the user the images that are in the "Downloads" directory.
He will be able to select one and it will be copied to an internal directory.
My program is not in the google store.
What do you recommend?
Thank you very much.
 

vecino

Well-Known Member
Licensed User
Longtime User
Hi, I have been trying contentchooser but I think it doesn't work for me because I need to copy the image chosen by the user to an internal folder of my application.
And with contentchooser I don't know the real name of the image, because I copy it as jpg, png, etc.
How can I know the real name of the image?
I need to know at least the extension of it.
Thank you very much.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Hi, I have been trying contentchooser but I think it doesn't work for me because I need to copy the image chosen by the user to an internal folder of my application.
And with contentchooser I don't know the real name of the image, because I copy it as jpg, png, etc.
How can I know the real name of the image?
I need to know at least the extension of it.
Thank you very much.
The example of Erel will tell you how to do that
 
Upvote 0
Top