Help - Open ad image with default viewer

Hi people,
I’m trying to insert a function in my app like this: if I long press on an image, open image with default viewer (or let me select).

I try this but I’ve an error “image not found”.

I try with Taifun extension

or with this

but with the same result.

What can I do?

Thanks all!

You must use the full path as Data Uri:
For example: file:///storage/emulated/0/a.jpg

For your example with TaifunFile it should be: storage/emulated/0/a.jpg

hi djano,
thanks for your answer but is not working. i’ve the same error: image not found

That was just an example based on my file structure.
I don’t know where your image is saved. Check your path. There will be the error.
Show your blocks.

ok! i wat thinking was a standard path…

something is changed… when I try during companion test it works properly. but if I download the apk and install, when i try there is a message like “file corrupted”.

Sorry guys but I’m still blocked with this situation.

  1. With the path /storage/emulated/0/Makeroid/assets/ works in emulation but doesn’t work when I install the apk
  2. With the path returned from TaifunTools doesn’t work in any way
  3. when I try to search images in my phone there is no folder with my assets, like they are hided

Do you have any suggest?! I’m getting crazy with that.

Thanx a lot.