Can't open downloaded picture with native app by "Open URL"

Basically my flow is: in a web view I have a picture (link from amazon s3) and I have a couple of containers, one is “download image” other is “share image”

the logic:

when I try to open downloaded picture I have an error:

“Could not open URL ‘file:///storage/emulated/0/Pictures/c34ce1d6cc3d0d84dfcebbfcb1a172c86e6ce6e9.jpg’: file:///storage/emulated/0/Pictures/c34ce1d6cc3d0d84dfcebbfcb1a172c86e6ce6e9.jpg exposed beyond app through Intent.getData()”

I can find the file in through the file manager but can’t see it in the gallery.

Another question how to share the image from the app? not url link, but the whole file like in whatsapp or facebook

Thanx

Hi, possibly related to your issue opening local files:

All right, thanx! And what regarding sharing a file instead of only a text?