iOS Question Share image in WhatsApp, Telegram, Instagram directly

asales

Expert
Licensed User
Longtime User
In B4A I can click in a button and use an intent to share an image only in the WhatsApp, by set the package (com.whatsapp).

How can I do this in B4i?

I try this DocumentInteraction

And this code, that worked to text but I don't know how make to work with image:
B4X:
Dim txt As String = "Hello%2C%20World!"
Dim url As String = "whatsapp://send?text=" & txt
If Main.App.CanOpenUrl(url) Then Main.App.OpenUrl(url)
Thanks in advance for any tips.
 
Top