Do you mean the intent no longer works, or that it is simply not documented on the Android dev site any more?
Sorry, I would usually write a quick JUnit test myself, but my time is currently consumed by other development work... I would be interested to hear your findings though. On Monday 09 Nov 2009 17:27:53 [email protected] wrote: > Thanks. Sorry but the sdk definetly doesnt have that intent anymore > > http://developer.android.com/search.html#q=SMS_RECEIVED%20&t=0 > > On Nov 9, 5:12 pm, Sean Hodges <[email protected]> wrote: > > 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- > >s.... 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, [email protected] > > > > <[email protected]> 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 [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 > -- 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

