Idle state background application

  • Thread starter Thread starter Felix
  • Start date Start date
F

Felix

Hi,

I'm writing a Pocket PC Phone application that polls a URL every
minute. Problem is when the phone goes idle it goes into Idle (sleep)
mode. The application keeps running but now it can no longer access
the data connection. I know I can keep the phone running by reseting
the idle timer, but that keeps the backlight on and keys unlocked. Is
there any way to maintain the network connect when the phone goes to
Idle?

What is standard practice when writing an application like this, i'm
sure i'm not the first who has these requirements.

Thank you very much!
Felix
 
Use a notification. Set it to fire every minute for you to check, but come
up in unattended mode (so the backlight stays off).


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
 
Not offhand - search the archives for both notification and unattended mode
and you shoudl get on the path. If not, post back tomorrow.

-Chris
 
Back
Top