I am trying to send an email using default method
eml.setType("message/rfc822");
startActivityForResult(Intent.createChooser(eml, "Choose an Email client :"), RESULT_EMAIL_SEND);
Now i am using startActivityForResult. I have found out that it actually never send any response back so it gets its default value as Activity_Cancel.
Now my problem is,
I want to do following
Main Page -> Activity -> Email > Success -> Main page Main Page ->
Activity -> Email > Failed (if no internet or any other probelm) ->
Back to activity
How can i do that?
Best REGARDS
Generally speaking, you can’t, unless you send the email yourself (e.g., via the JavaMail JAR).