Thanks David for cutting through my clutter of events and such and
given the actual simple answer to Joker's question - namely, if you
don't want ot exit your app, then ignore the AppStopEvent.

But, as Joker says, if he ever wants to exit his app he'll need to
know which AppStopEvent to ignore. So, returns the clutter of events
and such.

I suspect you could watch the various phone events and notifications.
If you see one that implies a switch to the phone app, you could for
one time ignore the imminent AppStopEvent.

Or, ignore all AppStopEvents until an app exit button is pressed, but
who wants an exit button in a Palm app :)


On 10/3/06, Joker <[EMAIL PROTECTED]> wrote:
> All you need to do to keep your own app running
> during a phone call is to block the AppStopEvent that is posted
> when the phone call is answered

Seems easy, but how can the app distinguish when AppStopEvent is generated by a 
phone call and not by the user that actually wanted to open another program? In 
the latter case, processing AppStopEvent is a must and there is some clean-up 
my app has to do before exiting.
--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/



--
yisdersomenimororsisasisdenderisorsis?
Jeff Loucks

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

Reply via email to