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.
> 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.
-C
--
Christopher Hunt
Class Action Pty. Ltd.
Complete time zone management for the Palm(tm) connected organizer.
Check out http://www.classactionpl.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html