PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
what happen when I close the PDA
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
what happen when I close the PDA
![]() |
what happen when I close the PDA |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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? |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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. -- Chris Tacke OpenNETCF Consulting Managed Code in the Embedded World www.opennetcf.com -- "Ofer B." <OferB@discussions.microsoft.com> wrote in message news:8B808EA0-3F68-4026-9D31-94B47DEFB269@microsoft.com... > 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? > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

