SMS_RECEIVED definitely should be in the SDK, it is a frequently used intent. An example of it's use can be found here: http://davanum.wordpress.com/2007/12/15/android-listen-for-incoming-sms-messages/. Double-check your spelling, I think you have an "i" and an "e" the wrong way round.
As for emails, I'm not aware of any public intents in the GMail or Email apps, and I'm not sure which one you intend to interface with. How about using some simple IMAP client code to check an email account periodically? Something like this: http://eppleton.sharedhost.de/blog/?p=176 On Mon, Nov 9, 2009 at 4:37 PM, jrichards1...@googlemail.com <jrichards1...@googlemail.com> wrote: > 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 android-beginners@googlegroups.com > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en