Many thanks for your answer. When I started with this project, I couldnt figure out 
how to get a normal enviroment after beeing alarmed and programmed the apllication in 
that way. But now the study needs to start, but for the next project I will shurely 
use this.

By
Berndt Wischnewski


> ----------
> Von:  Markus Dresch
> Antwort an:   Palm Developer Forum
> Gesendet:     Dienstag, 28. Januar 2003 8:18 Uhr
> An:   Palm Developer Forum
> Betreff:      Re: turn screen off?
> 
> > I cannot use the Attention- or Alarm-manager, because the
> > system wont let me use normal forms after waking up, just
> > dialogs are allowed
> 
> hmm, yes, when your application receives a sysAppLaunchCmdAlarmTriggered, it
> doesnt have access to globals.
> but you can work around that by handling whatever you have to do before
> showing the form in sysAppLaunchCmdAlarmTriggered, then handle
> sysAppLaunchCmdDisplayAlarm and call SysUIAppSwitch to open your application
> in "normal" mode.
> 
> quick and dirty. but works.
> 
> markus dresch (www.palmside.com)
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/support/forums/
> 
> 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to