N
Neville Lang
Hi all,
When I launch my app, one option a user has is to start a 30 second timer
that updates a form. When the user presses the power button on the PPC, the
device turns off, or more correctly, the display is shut down but the app is
still running.
When the user presses the power button again, the screen shows the form that
was displayed before the power was turned off. All OK up to this point.
What I have noticed is that the 30 second timer does not update the form
immediately the power button is touched but may wait for up to a its full 30
seconds depending on the cycle at which the power button was pressed.
My question is: How can I detect that the screen is now on (after the power
button has been pressed) to force a refresh of the form so that I am not
waiting for the 30 second timer?
I have discovered CeRunAppAtEvent but I think that is more to do with
running an app at an event. I am not sure whether this will work for my
scenario where I want to triggering a form refresh at power up on a running
app, if that option is selected by the user.
Regards,
Neville Lang
When I launch my app, one option a user has is to start a 30 second timer
that updates a form. When the user presses the power button on the PPC, the
device turns off, or more correctly, the display is shut down but the app is
still running.
When the user presses the power button again, the screen shows the form that
was displayed before the power was turned off. All OK up to this point.
What I have noticed is that the 30 second timer does not update the form
immediately the power button is touched but may wait for up to a its full 30
seconds depending on the cycle at which the power button was pressed.
My question is: How can I detect that the screen is now on (after the power
button has been pressed) to force a refresh of the form so that I am not
waiting for the 30 second timer?
I have discovered CeRunAppAtEvent but I think that is more to do with
running an app at an event. I am not sure whether this will work for my
scenario where I want to triggering a form refresh at power up on a running
app, if that option is selected by the user.
Regards,
Neville Lang