So, for those interessted on the issue.

joebowbeer's suggestion does not seem to work, the Broadcast receiver
is never activated with that Intent.

The solution was to register a ContentObserver that listens to the
Gmail content provider ("content://gmail-ls/") , each time the data
set is being changed, a callback function would be called.


On 19 Feb., 20:40, Alex Corbi <[email protected]> wrote:
> Thanks joe i will try that out,
>
> is that info reliable Mark???
>
> Thank you guys.
>
> On Feb 19, 7:56 pm, joebowbeer <[email protected]> wrote:
>
>
>
> > On Feb 18, 11:35 pm,AlexCorbi<[email protected]> wrote:
>
> > > What interest me is detecting when new GMail is being received.
>
> > Intent.ACTION_PROVIDER_CHANGED doc says
>
> > "GmailProvider sends this notification when the set of unread mail in
> > the inbox changes."
>
> > (Though I haven't used this so you'll need to be the bloodhound and
> > determine if this is for real, or if it is a red herring.)

-- 
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