Initiating email download for POP/IMAP accounts?

Put your problem here if it does not fit any of the other categories.

Initiating email download for POP/IMAP accounts?

Postby ppcinfo » Sat Nov 08, 2008 9:07 pm

I've been reading in several Android forums that the POP/IMAP program that comes with the G1 Phone doesn't generate new email notifications (only the gMail app does). Why this is the case, I'm not sure.

Does anyone know what the API class/call is to initiate the email download for a particular POP/IMAP account? I'm thinking of creating a service running in the background which will check for email and send out an email notification for new emails.

Thanks.
ppcinfo
ppcinfo
Junior Developer
Junior Developer
 
Posts: 14
Joined: Mon Nov 03, 2008 7:47 pm

Top

Postby ppcinfo » Sat Nov 08, 2008 10:04 pm

Here's a follow up comment:

In another Android Forum I've been having a discussion with a few G1 phone users who have commented on the inconsistency of getting email notifications for the POP/IMAP email application. Most don't get any email notifications for defined POP accounts, but they do get notifications for IMAP accounts (under certain conditions).

For the IMAP accounts, they get notifications usually when the Phone is unlocked but not when it's locked. This seems like a real limiting factor with regards to usability.

Question: Does anyone know if there's a background service that is checking for new emails for the POP/IMAP accounts? There must be something, otherwise you probably need to have the email app up and running for it to do the checking (again, that would be a limiting factor).

Let' say that I did create a service that ran in the background and checked for new POP emails at a defined interval... would this service be running if the phone is locked? Also, could this service send out email notification alerts (icon displayed in the title bar and pull down shade) if the phone is locked?

Thanks.
ppcinfo
ppcinfo
Junior Developer
Junior Developer
 
Posts: 14
Joined: Mon Nov 03, 2008 7:47 pm

Postby daveelt » Wed Nov 19, 2008 1:10 am

I am working on an IMAP listener that used the idle command and have a prototype working (giving notificatoins in about 2 secs) but I have also been unable to find a way to pop the email app from the notification or to force a refresh. Anyone here know how?
daveelt
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Nov 19, 2008 1:06 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 16 guests