There is a fundamental difference between the two... to get notified of an incoming email you either have to make periodic calls to an email server or you need to develop a pseudo-push technique... as to the latter read through here: http://groups.google.com/group/android-developers/browse_thread/thread/c51383cc8761ffd5/43635afd097afcfc?lnk=gst&q=Incoming+SMS#43635afd097afcfc
On Dec 11, 10:41 am, code_android_festival_way <[EMAIL PROTECTED]> wrote: > What is the right way to catch incoming emails and sms? I don't want > to read them I just want to be notified. (my service wants to get a > callback and get something done) > > I tried to setup the BrodcastReceiver listening for > "ACTION_PROVIDER_CHANGED". But I can't get something in the onReceive > method although the gmail app is throwing out this action. (which I > can see in the Logcat) The receiver can't be wrong since I can get > Airplane Mode changed actions in my onReceive method. Am I lacking > some permissions? > > I'm looking forward reading your answers. > > Regards! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---