Windows Mobile intercept notifications
I know how to intercept regular SMS messa开发者_开发技巧ges. But sometimes I get some special SMS notifications. Notifications are treated differently, it seems that the MessageInterceptor is unable to intercept such messages. Is there a way to intercept those notifications?
LATER EDIT: On some (or all) mobile devices you get these type of messages prompted directly on the screen instead of being only notified that a message has arrived.
I think what you need to do is make use of the InterceptionAction property. This property (which is of type InterceptionAction, an enumeration) takes one of two values: Notify and NotifyAndDelete. You may need to use one of these two for your scenario.
The following links may be helpful for you in this regard:
http://msdn.microsoft.com/en-us/library/microsoft.windowsmobile.pocketoutlook.messageinterception.interceptionaction.aspx
http://msmvps.com/blogs/donscf/archive/2006/04/03/89053.aspx
精彩评论