HI All,
I am using the configured mail applications on the device to send e-
mail from my android application.
When the user has actually send the mail, I want to know whether the
mail has been sent or not? How can i get the same information back in
my Android application.
Here is my current code snippet-
intent = new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_SUBJECT, "my subject");
intent.putExtra(Intent.EXTRA_TEXT, msgBody);
try {
startActivity(Intent.createChooser(intent,"Select Any"));
}catch (android.content.ActivityNotFoundException ex) {
Toast.makeText(this, "There are no email clients installed.",
Toast.LENGTH_SHORT).show();
Kindly Help
Best Regards
Amit
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en