(i know its an old thread but i was looking for how to share a text in whatsapp and this is what i found so i wanted to share the piece of code how to do that)
to share text in whatsapp do it like this:
B4X:
Dim txt As String = "Hello%2C%20World!"
Dim url As String = "whatsapp://send?text=" & txt
If App.CanOpenUrl(url) Then App.OpenUrl(url)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.