Hi, i am wondering how its possible to receive
incoming emails on an android device.
i can send out emails using
private void sendEmail(String[] address, String subject, String msg) {
Intent send = new Intent(Intent.ACTION_SEND);
send.putExtra(Intent.EXTRA_EMAIL, address);
send.putExtra(Intent.EXTRA_SUBJECT, subject);
send.putExtra(Intent.EXTRA_TEXT, msg);
send.setType("text/plain");
startActivity(Intent.createChooser(send, "MySendMail"));
}
But i cant seem find a way to actually receive incoming new emails or
even read emails stored in an inbox? the only inbox i have seen is the
ones for SMS but nothing for emails.
Not only for Emails but for SMS messages too. At first i thought i
found a way using the SMS_RECIEVED intent but i during further
investigation, this intent doesnt exist in the actual android SDK?
Surely there is a way to listen out for new incoming SMS and emails?
Thanks in advance.
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en