Hi Erel and all
i found this code to share Text & Image with Whatsapp:
and this dont work, i try also this code ( library MESShare ):
Share imagine but no Text.
Any idea to share both ( Imagine and Text ) with intent or library ???
Thank you
Marco
i found this code to share Text & Image with Whatsapp:
B4X:
Dim i As Intent
i.Initialize(i.ACTION_SEND, "")
i.SetType("*/*")
i.PutExtra("android.intent.extra.TEXT", "This is the text")
Dim u As Uri
u.Parse("file://" & File.Combine(File.DirRootExternal, "xxxx.jpg")) '<-- change to a valid image file
i.PutExtra("android.intent.extra.STREAM", u)
and this dont work, i try also this code ( library MESShare ):
B4X:
' 'Condividi
' Dim share As MESShareLibrary
File.Copy(File.DirAssets, file_share, File.DirRootExternal, "nails_pro.jpg")
share.sharebinary ("file://" & File.DirRootExternal & "/xxxx.jpg", "image/jpg", "Send to XXX", "Do you like ?")
Share imagine but no Text.
Any idea to share both ( Imagine and Text ) with intent or library ???
Thank you
Marco