jonathanrz
jonathanrz

Reputation: 4296

Android open send mail intent and receive callback when user send mail

I need to open the send mail intent(Send Email Intent) and know if the user has really sent the email.

The feature is a "Invite your friend to use the app" and I need to let the user inform the address to send the email.

The approach of using send mail intent is the better because the user can edit the e-mail subject and body and use his prefered email client.

But if there is no way to know if the user has really sent the e-mail, I will embed the e-mail client inside my app.

Thanks.

Upvotes: 0

Views: 1315

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006584

I need to open the send mail intent(Send Email Intent) and know if the user has really sent the email.

ACTION_SEND does not offer a result, so there is no requirement for any ACTION_SEND implementation to tell you what specifically was done with the data the user elected to share.

Upvotes: 1

Related Questions