i would like to share a text via whatsapp but whatsapp is not showing on the choose window when using intent. i do see facebook, messanger,... but not whatsapp.
this is my code:
B4X:
Dim Intent1 As Intent
Intent1.Initialize(Intent1.ACTION_SEND, "")
Intent1.SetType("text/*")
Intent1.PutExtra("android.intent.extra.TEXT", txtInput)
Intent1.WrapAsIntentChooser("Choose")
StartActivity(Intent1)
if i put this:
B4X:
'Intent1.SetPackage("com.whatsapp")
i am able to share via whatsappbut this will only use whatsapp and not show me the choose window. how can i get whatsapp back to that window?