what happen when I close the PDA

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

As I know, when I close the PDA it don't really closed my program like in PC.
I wrote a program that write to a log file every second using a timer.

When I closed the PDA, while my program was running and open it after 5
minutes, I saw that my program didn't wrote to the log file while the PDA was
closed.

I'm writing a program that is the main and only program that the user will
use on the PDA. I have some tasks that I want to stop when the PDA is closed,
and other that I want to keep running…

IS it possible? and How can I do that?
 
When you turnt he PDA "off" the processor typically suspends and DRAM is put
in self refresh. That means that when it's repowered, everything continues
where it was when it was powered off, but it also means that while off
*nothing* is running. This is important for power savings. If you were to
alter that behavior, the device battery life would be shortened a lot. If
you need task to run periodically, use a noticiation to wake at a specific
time, do the action, then go back to sleep.
 
Back
Top