In article <99814@palm-dev-forum>, Danny Wong <[EMAIL PROTECTED]> 
wrote:

> >Based on some of the hacks I've seen, I'm much happier with 
> >notifications as there are no patch chains to worry about and the 
> >notifications can be installed/removed w/o creating a big mess for other 
> >patches.
> 
> But you can't guaranteed that your app will receive the notification.
> Another app could chew the notification. So if you have more than one app
> Registered the same notification how does the OS know which one have the
> Higher priority assumming that the priorities are set the same?
> 
> Regards,
> 
> 
> 


Excellent point. The stuff I've written, I've registered as the highest 
priority (yeah, I really shouldn't, but I need to get called)...my guess 
is the one that got registered first gets the event. I just checked the 
sources for the notification manager (4.0) and it looks like the entries 
are inserted into the list sorted using type and priority.

I guess that maybe PalmSource should consider a "patch" mechanism for a 
future Palm OS version that handles things like this better. A user 
interface to see/control which item(s) has priority might be nice.

-- 
Scott Gruby
[EMAIL PROTECTED]
<http://www.gruby.com/>

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

Reply via email to