hey,  can any of you guys tell me what steps and percautions i should take
if i was to use sysAppLaunch to go from one of my apps to another?  and a
piece of code too if possible.  i have had the two apps go from one to
another but with the occasional "fatel exception" error.

thx
Charles

-----Original Message-----
From: Danko Radic <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: Tuesday, February 29, 2000 3:22 AM
Subject: Re: Broadcasting action codes


>> Danko Radic wrote:
>>
>> > (Sorry for long time response, but my server was down...)
>> >
>> > Why not using SysAppLaunch or SysUIAppSwitch?
>> > Well, as I said, my Viewer is CURRENT RUNNING APPLICATION. PagerCard
sends
>> > action code about received message and current PAGER application
receives
>> > it (I can set current pager app programatically, or it's system app
that
>> > comes in pager card ROM.) So before starting Viewer, I set my Receiver
as
>> > current pager app, exit it and start Viewer. When page comes (even with
>> > Viewer started), Receiver would be started via launch code (of course
>> > without globals) to store message into DB. Now, I have to notify Viewer
>> > that DB is refreshed. As I understand it, it's possible via launch
codes
>> > only because Viewer is already STARTED and need to be notified only. I
>> > don't know that it's possible to use SysAppLaunch or ..Switch.. on
already
>> > running application.
>>
>> It is possible to use SysAppLaunch in any situation i.e. if your program
is running or not. SysBroadcastActionCode actually calls on
>> SysAppLaunch.
>
>
>Yes, that's truth. My mistake overseeing that!
>
>
>> > BTW, even if I could get by somehow else, what is general solution when
>> > there is a danger of overlapping custom launch codes.
>>
>> Don't use SysBroadcastActionCode unless its a launch code defined by
PalmOS.
>
>
>Hm, it seems to be the only reasonable answer.
>
>
>> --
>> Christopher Hunt
>
>Thanks to all that helped (Steve, Neil, Bozidar & Chris)!
>
>-DR
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to