Android Question whatsapp is not showing in choose option

ilan

Expert
Licensed User
hi

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?

thanx
 

moster67

Expert
Licensed User
Maybe you need to scroll horizontally the show window?
It happens when many apps can be a target
 
Upvote 0

ilan

Expert
Licensed User
Maybe you need to scroll horizontally the show window?
It happens when many apps can be a target

No, thats not the case.

Screenshot_20190627-013728_Android System.jpg
 
Upvote 0
Top