Hello all,

BACKGROUND:
My app gets activated by tapping on its icon in the launcher app or by a
preset alarm.

I don't use SysAppUISwitch to run the program from an alarm. I test for
the way the app was launched and go from there.

Firstly, I know that 'exiting' an application is non-standard so I don't
want a philosophical discussion on the topic.

The code to exit the app employs the old trick of adding a keyDownEvent
signifying the launch app. silkscreen pad:

 newEvent->eType = keyDownEvent;
 newEvent->data.keyDown.chr = launchChr;
 newEvent->data.keyDown.modifiers = commandKeyMask;
 EvtAddEventToQueue (newEvent);


This works properly when the app was activated manually. I get to the
launcher app.


THE PROBLEM:
When it is activated through an alarm, exiting results with a blank
screen. I can't get to the launcher app by tapping on its silkscreen pad
directly. I have to tap on the calculator and then the launcher to get
it going.

I've searched the literature to no avail. Has anyone seen this behavior
before?

Thanks in advance,

John


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

Reply via email to