开发者

Windows Mobile intercept notifications

开发者 https://www.devze.com 2023-04-08 12:33 出处:网络
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 t

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号