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 ch
Thanks joe i will try that out,
is that info reliable Mark???
Thank you guys.
On Feb 19, 7:56 pm, joebowbeer wrote:
> On Feb 18, 11:35 pm, Alex Corbi wrote:
>
>
>
> > What interest me is detecting when new GMail is being received.
>
> Intent.ACTION_PROVIDER_CHANGED doc says
>
> "GmailProvider
On Feb 18, 11:35 pm, Alex Corbi 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 blood
Alex Corbi wrote:
> Sure, i know... you mean there is no possibility of knowing when new
> emails (from gmail) are being received? What about other Emails from
> accounts registered on the Email app?
None of those are part of the SDK. Generally speaking, the SDK is mostly
for the operating system,
Sure, i know... you mean there is no possibility of knowing when new
emails (from gmail) are being received? What about other Emails from
accounts registered on the Email app?
But there are ways to read the new emails in Gmail (I currently use a
port for Android of the javaMail library to access t
Alex Corbi wrote:
> Ok Thanks Dianne,
>
> What interest me is detecting when new GMail is being received.
>
> Wich is the uri of the Gmail content provider?
>
> content://gmail-ls ???
>
> is there any documentation somewhere about how the information is
> being stored in this Content-Provider.
Anybody had some experience with this?
On 19 Feb., 08:35, Alex Corbi wrote:
> Ok Thanks Dianne,
>
> What interest me is detecting when new GMail is being received.
>
> Wich is the uri of the Gmail content provider?
>
> content://gmail-ls ???
>
> is there any documentation somewhere about how the
Ok Thanks Dianne,
What interest me is detecting when new GMail is being received.
Wich is the uri of the Gmail content provider?
content://gmail-ls ???
is there any documentation somewhere about how the information is
being stored in this Content-Provider.
On Feb 19, 4:03 am, Dianne Hackborn
There is really no such thing as a global "data sync". You can write a
SyncAdapter to take care of syncing with a particular content provider, and
decide when to sync. You can register a ContentObserver to see when the
data inside of a content provider changes. A global concept of sync isn't
rea
HI,
is there a way for an app to know when a data sync happens?
It would be just great to be able to Register a BroadcastReceiver and
handle that action, in my case instead of fire a data synchronization
i would like to detect when it happens.
is it possible?
On Jan 25, 6:59 pm, Dianne Hackborn
10 matches
Mail list logo