How to send intent directly to Whatsapp ?
I'm trying to write the code :
I'm trying to write the code :
B4X:
Dim i As Intent
i.Initialize(i.ACTION_SEND, "file://" & File.DirRootExternal & "/pic.png")
i.SetType("image/png")
i.SetComponent("com.whatsapp")
i.WrapAsIntentChooser("Share pic...")
StartActivity(i)