thanks a lot...
----- Original Message -----
From: "Markus Dresch" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 3:04 PM
Subject: Re: turn screen off?
> so you want some code, huh? well, here i got some to start with...
>
> PilotMain...
>
> if(cmd == sysAppLaunchCmdDisplayAlarm){
> UInt16 cardNo;
> DmSearchStateType searchInfo;
> LocalID dbID;
> Boolean appIsActive = launchFlags & sysAppLaunchFlagSubCall;
>
> if(appIsActive){ //if your app is already opened when the alarm was
> triggered
> FrmGotoForm(frmMain);
> }
> else {
> DmGetNextDatabaseByTypeCreator(true, &searchInfo,
> sysFileTApplication, APPCREATORID, true, &cardNo, &dbID);
> SysUIAppSwitch(cardNo, dbID, sysAppLaunchCmdNormalLaunch, NULL);
> }
> }
>
> markus dresch (www.palmside.com)
>
> "Rodolphe Br�jaude" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> news:110855@palm-dev-forum...
> >
> > I am interrested to know how you did such an application ??
> > What must I exactly do to be in a normal environnement when my
application
> > is launch by an alarm trigger.
> >
> > Can you help me, I will appreciate...?
>
>
>
> --
> 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/