Running program in the background

tsdt

Active Member
Licensed User
Hi,

I was wondering whether if there is any possibility that the timer program that can run at the background during the system idea mode.

Thanks.

:sign0089:
 

tsdt

Active Member
Licensed User
A program can run in the background. Hardware.ShowTodayScreen can be used to move it to the background.
However if your device is not a phone device and it turns off after a period of time, the program will stop as well.

Thanks Erel for your support.

If it is Hardware.ShowTodayScreen can bring it to background, then set the timer to kill that process, correct??
 

mjcoon

Well-Known Member
Licensed User
If it is Hardware.ShowTodayScreen can bring it to background, then set the timer to kill that process, correct??

It might be easier to assist you if you describe the effect that you wish to produce...

Mike.
 

tsdt

Active Member
Licensed User
It might be easier to assist you if you describe the effect that you wish to produce...

Mike.

Hi Mike,

I was intended to create a program to display a counterdown during the idle time before the target go to standby mode. However, I dont want to interrupt the target idling time, because I have no idea whether if the display is refreshing every seconds, will it cause the target to kept on reseting the idle time or not. Hence, I wish to have a counter that maybe run at the background without interrupting the system power cycling time.
 

mjcoon

Well-Known Member
Licensed User
I was intended to create a program to display a counterdown during the idle time before the target go to standby mode. However, I dont want to interrupt the target idling time, because I have no idea whether if the display is refreshing every seconds, will it cause the target to kept on reseting the idle time or not. Hence, I wish to have a counter that maybe run at the background without interrupting the system power cycling time.

Ah, I'm sure that you are right that if you are displaying a counter the device will consider it is not idle and thus not shutdown. Rather a "Catch-22" situation!

Not sure if the countdown was happening in background whether that would also reset the idle count. I suspect it would. But in any case you would not be able to see, since on PDAs only the foreground "window" is visible.

If your program spoke the countdown through the speaker the invisibility of the background state would not matter, but I'm sure that would not be an "idle" state either.

Mike.
 

mjcoon

Well-Known Member
Licensed User
... However, I dont want to interrupt the target idling time, because I have no idea whether if the display is refreshing every seconds, will it cause the target to kept on reseting the idle time or not.

Forgetting this thread, today I set my WM5.0 device to switch off after five minutes idle. I found that it did this even while running my Music Player program. This program updates the screen (to show progress through the sound file while playing) on a timer.

So, at least on my device, "idle" means not interacting by pressing buttons, not that no screen update is happening.

"Your mileage May Vary"...

Mike.
 
Top