Try and add this to your AppEventLoop. It will make the device not go to
sleep.
static void AppEventLoop(void)
{
....
....
do {
....
....
EvtResetAutoOffTimer();
}
}
Matt Revenaugh
- - - - - - - -
On 9/5/03 6:15 AM, in article [EMAIL PROTECTED], "Chris Percival"
<[EMAIL PROTECTED]> wrote:
>
> Is there a way to wake the device up from sleep at a given point in code? I
> have always just used:
>
> LocalID id = DmFindDatabase(0, AppName);
> AlmSetAlarm(0, id, 0, TimGetSeconds(), 0);
>
> ie. set an alarm to go off immediately. This has always worked great for me
> in the past, but now I cannot use that mechanism. There must be another
> way. I have searched the archives to no avail. It seams to me like quite a
> common thing to want to do..
>
> Chris
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/