Sorry, it was supposed to be a personal message for Danko. :-)
Regards
Bozidar
> Danko,
>
> A zasto jednostavno ne pozoves svoj Viewer sa SysAppLaunch()
> it tvoji action code? Ili mozda zbilja zelis da SVE ostale
> aplikacije dobiju
> taj poziv?
>
> Bozidar
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Danko Radic
> > Sent: Friday, February 25, 2000 11:07 AM
> > To: Palm Developer Forum
> > Subject: Broadcasting action codes
> >
> >
> > (PalmOS 3.0)
> >
> > Let's suppose I have 2 applications: Receiver (that receives
> messages via
> > PagerCard or something else) and Viewer (used to view result
> dependent on
> > received message). When Viewer is active application and new message
> > arrives, Receiver is trigged by special action code, receives message,
> > refreshes DB and sends MY CUSTOM action code to Viewer to notify that.
> > My custom action code is defined 'by the book' as
> > sysAppLaunchCmdCustomBase.
> > Receiver sends it via
> > SysBroadcastActionCode()
> > API call and Viewer handles it well.
> >
> > Now, since sysAppLaunchCmdCustomBase is only some *number* in fact and
> > SysBroadcastActionCode() sends it to *ALL* UI applications, what
> > would happen if there is some other application on same Palm that has
> > defined that same *number* as action code and sends it or
> responds to it?
> > CmdPBP is definitely wrong in such situation and it may cause app to
> > crash.
> >
> > How to handle such situations (risk of overlap custom launch codes for
> > different apps) in general?
> >
> > Rgds,
> >
> > -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
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html