Android Question [Solved] Only email apps to use with intent.ACTION_SEND

asales

Well-Known Member
Licensed User
The intent "android.intent.action.SENDTO" don't work anymore with Gmail to passes the subject and body.
The "intent.ACTION_SEND" works, but show several apps in the list to share (Acrobat, Files, Drive, WhatsApp, Telegram...).

I want to filter these list-options and show only the email related apps.

Is possible?
How I can do this?

Thanks in advance for any tip.
 

JohnC

Well-Known Member
Licensed User
It would be preferable to continue to use your original thread instead of this new one - I posted a new response in that thread:

 
Last edited:

asales

Well-Known Member
Licensed User
Solved based in this code:

It works with ACTION_VIEW and include the e-mail using an array:
B4X:
i.Initialize(i.ACTION_VIEW, "mailto:")
i.PutExtra("android.intent.extra.EMAIL", Array As String("email@example.com"))
 

JohnC

Well-Known Member
Licensed User
The link I sent you said to do those exact two things.
 
Top