在Windows Mobile 5.0中拦截MMS wap推送通知的问题 [英] problem in intercepting MMS wap push notification in windows mobile 5.0

查看:93
本文介绍了在Windows Mobile 5.0中拦截MMS wap推送通知的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,



我的移动设备是Windows mobile 5.0 PDA手机。我希望通过我的程序收到彩信通知。所以我引用了SDK fileclient示例,还


http://forums.microsoft.com/ MSDN / ShowPost.aspx?PostID = 1911764& SiteID = 1



我成功使用PushRouter_RegisterClient注册HKLM \ Security \PushRouter \Registrations \ByGenericeId。



Windows moible 5.0已内置Arcsoft MMS编曲,所以它被我的程序所覆盖。



注册中的路径值\ BYyGenericeId现在是\\ \\Storage Card \Program Files\CareMe \AvatarReceive.exe,上一个路径值为\ Windows \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


以下是我的AvatarReceive.exe代码......






Code Snippet

解决方案

我也不得不面对同样的问题。即..它第一次调用我的应用程序,下一次,默认被调用。


当发生这种情况时,我觉得收到第一次后注册失效消息。



所以,我之后的工作是添加以下两行代码


PushRouter_UnRegisterClient(c_szContentType,c_szAppId);


PushRouter_RegisterClient(c_szContentType,c_szAppId,c_szPath,收到第一条消息后,c_szParams);



。因此,在您的应用程序收到每条消息后,请再次注册并注册。



暂时解决此问题。




Senthil



Dear All,

 

          My mobile device is Windows mobile 5.0 PDA phone. I want to receive MMS notification through my program.So I referenced to SDK fileclient sample and also

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1911764&SiteID=1.

 

         I use PushRouter_RegisterClient sucessfully register in HKLM\Security\PushRouter\Registrations\ByGenericeId.

 

         Windows moible 5.0 has built in Arcsoft MMS composer, So it was overwirtten by my program.

 

        Path value in Registrations\ByGenericeId now is \Storage Card\Program Files\CareMe\AvatarReceive.exe, the previous path value is \Windows\tmail.exe

 

        The following is my code of AvatarReceive.exe...

     

Code Snippet

解决方案

I also had to face the same problem. Ie.. It invoked my app for the first time and the next time, the default got invoked.

When this happened, i felt that the registration becomes invalid after receiving the first message.

 

So, the work around followed by me was to add the below two lines of code

PushRouter_UnRegisterClient(c_szContentType, c_szAppId);

PushRouter_RegisterClient(c_szContentType, c_szAppId, c_szPath, c_szParams);

 

after you receive the first message. So, after every message is received by your application, Unregister and Register again.

 

This resolves for time being.

 

 

Senthil

 


这篇关于在Windows Mobile 5.0中拦截MMS wap推送通知的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆