I have tried the solution here.
I used the solution but It gives FileUriExposedException on my galaxy s9 Plus.
From what I can tell I need to use androids file provider. Does anyone have an example in Delphi to send an intent to open an image in the default android gallery app, using file provided?