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
www.b4x.com
And this code, that worked to text but I don't know how make to work with image:
www.b4x.com
Thanks in advance for any tips.
How can I do this in B4i?
I try this DocumentInteraction
List of methods to access external resources or share to external apps
There are all kinds of ways to share files with other apps or access external resources. Here is a short summary of the available methods: - ActivityViewController (iPhone library): Allows sharing text, images or files with third party apps...
And this code, that worked to text but I don't know how make to work with image:
Share Simple Text With Whatsapp
Hello, I have searched the forum a bit but couldn't find an appropriate answer. I want to share a simple text with whatsapp. I think openapp is no longer possible after ios 9. Is there any code snippet that works currently wo share a text with whatsapp? (there is a method here but I just want...
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)