Well thank you for your answer.

Email:

I just want to be notified when the pre installed Gmail app got a new
message. Is there no broacast sent when it does? (that would make it
very easy to react uppon this)

SMS: Thank you for that. I'm looking into that now.

On 11 Dez., 12:14, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> 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/threa...
>
> 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to