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

asales

Expert
Licensed User
Longtime 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

Expert
Licensed User
Longtime 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:
Upvote 0

asales

Expert
Licensed User
Longtime 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"))
 
Upvote 0

JohnC

Expert
Licensed User
Longtime User
The link I sent you said to do those exact two things.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…