Can't Show all files from shared storage

Take an example image, for example tram.jpg and set it manually... try several parh types like this

/Pictures/Woordenzoecker/tram.jpg
/storage/emulated/0/Pictures/Woordenzoecker/tram.jpg
file:///storage/emulated/0/Pictures/Woordenzoecker/tram.jpg

Taifun

Yes, the Image component requires an absolute or full path, depending on the Android version. A full path should always work (on all Android versions).

So try this:

First: its working now!
I had already made a little test app with setting just one image.
But I had still the test in it that checked if the file exist. That was wrong.
Once I got rid of that test and directly set the image path I had succes with the "file:///storage/emulated/0/Pictures/Woordenzoeker/"

The issue is that its look likes the procedure "Call File1.Exist.." takes another convention of the pathname as "set image.Picture.to.."
"Call File1.Exist.." accepts only: "/Pictures/Woordenzoeker/" (I think that's the relative path)
"set image.Picture.to.." accepts only: "file:///storage/emulated/0/Pictures/Woordenzoeker/"

See my blocks

I will thank you all very much for helping me solving this!
I'm very happy.

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