I'm trying to do the same thing (only have an action taken if the device is
sleeping). The approach I'm taking though is that when the app gets a
notification that the device is waking up or going to sleep I set a variable
in my database that says whether the device is 'awake' or 'asleep'. I'm
still working on it so I don't know whether or not this approach will work,
but it's something to consider.
Michael
On 2/7/07, Alexander R. Pruss <[EMAIL PROTECTED]> wrote:
>
> Do you actually want the scheduled alarms to be going off with the device
> sleeping?
>
> If yes, then I wonder if you're registering for early or late
> wakeup? Since proc alarms aren't supposed to wake up the device, I am
> guessing that at least late wakeup ('lazy'--someone has a sense of humor)
> should not get generated.
> --
> For information on using the PalmSource Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
>
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/