Okay, now look. I'm not sure whether I do understand it right, but...
When a phone receives a message, the messaging application analyzes it and sets an EVENT(new.mesg or so) (not sure about the exact mechanism: does it just set the EVENT or sends directly to the notification daemon). The EVENTS...