Application in background

  • Thread starter Thread starter Sven
  • Start date Start date
S

Sven

Hello,

I have written an application wich should run also if the device is
switched off (it will notify the user for a change). Does anybody
know, if this is possible ?

Sven
 
No code can run when the device is off, if it could then the battery would
die quite fast. Time-based notifications can be set that will turn the
device on at a specific time, so a user notification or notification event
can be used for those types of actions.

-Chris
 
When the device is suspended your app will be suspended too. You can
register to be notified on certain system events or at a certain time which
will bring the device out of suspend and activate your application. These
are the Notify.h methods and you'll find them wrapped in the OpenNETCF Smart
Device Framework for .NETCF. I seem to remember Chris posting a sample app
for these too. (www.opennetcf.com)

Peter
 
Back
Top