Intercept WAP Push with a specific application ID
| Fri, 2006-02-24 09:01 | |
|
Hi all,
i am developing an application to intercept WAP Push messages with a specific application ID. These messages are directed to the standard WAP port (2948), are delivered to mobile phone through SMS bearer, and are not saved in Inbox folder. My questions are: A)How can I intercept WAP Push messages with a specific application ID, if other handlers for this Application ID are on the phone? B)Is it impossible that a WAP Push message, with a defined application ID, could be handled by two or more ECom plug-in objects inherited from CPushHandlerBase? C) If two or more ECom plug-in objects for a specific Push Application ID are on the phone, how the default resover decides the object to call? To solve my problem, i have followed different approaches: 1)The use of a class inherited from MMsvSessionObserver or the use of the CWapBoundCLPushService class seem to be not suited for my purpose. 2)I have Implemented an ECom plug-in object that derives from CPushHandlerBase class. I have specified my Push Application ID in ECom IMPLEMENTATION_INFO “default_data” field; My object implements the interface with ID = KUidPushHandlerBase. In this case the WAP PUSH messages are received from my plug-in if no other handlers for my Push Application ID are on the phone. From my investigations, I supposed that when a Push message with a specific Application ID arrives on the phone, only one Push Handler is called by the default resolver of Ecom Framework. Thanks in advance |
|





