hi
found this piece of code
it seems to be the only one that opens the email intent only and not all sharing apps - that's exactly what i was looking for
the only problem i have now is
how do i add CC & BCC?
and how to i add an attachment? (will the attachment cause the intent to fail again and open all sharing apps?)
thanks...
found this piece of code
it seems to be the only one that opens the email intent only and not all sharing apps - that's exactly what i was looking for
the only problem i have now is
how do i add CC & BCC?
and how to i add an attachment? (will the attachment cause the intent to fail again and open all sharing apps?)
thanks...
B4X:
Dim in As Intent
in.Initialize("android.intent.action.SENDTO", "mailto:")
in.PutExtra("android.intent.extra.EMAIL", Array As String("aaa@bbb.com"))
in.PutExtra("android.intent.extra.SUBJECT", "this is the subject")
in.PutExtra("android.intent.extra.TEXT", "this is the body")
StartActivity(in)