mobile手机拦截彩像
来源:互联网 发布:网络团队组建方案 编辑:程序博客网 时间:2024/05/01 22:12
1. 设定Content type application/vnd.wap.mms-message
2. 设定Appid x-wap-application:mms.ua
参考文章
(http://www.nowsms.com/discus/messages/132/518.html)
If you want to generate the push yourself, you'll need to download the WAP specifications from the Open Mobile Alliance (http://www.openmobilealliance.org) site.
When you generate a WAP push, you are generating a Push PDU as documented in the WSP (Wireless Session Protocol) specification.
The push PDU is sent via connectionless WSP to the push port (2948) on the recipient device.
ConnectionlessWSP is transported over WDP (the Wireless Datagram Protocol). The WDPspecification specifies the encoding for WDP over GSM SMS. To supportthe specification of a destination port, the WDP encoding for GSM SMSuses the SMS User Data Header (UDH). Details are in the WDPspecification, and the approach is compatible with the UDH encodingused by Nokia Smart Messaging (just that a specific port number, 2948,is reserved for WAP Push).
WDP and WSP specify how toconstruct the headers for the WAP push message. But you'll also needsome content. The two most common push content formats are "ServiceIndication" and "Service Load", which are documented in theWAP-167-ServiceInd and WAP-168-ServiceLoad specifications,respectively. These two content formats are XML-based, and the XML getsencoded in a WBXML (Wireless Binary XML, yet another WAP spec) format... the ServiceInd and ServiceLoad specs have examples of that encodingspecific to those content types.
WAP push is also used forMMS notifications. The MMS notification is simply an alternativecontent type (in the same way that ServiceInd and ServiceLoad are pushcontent types). There are some other discussions out here discussingMMS notification formats that you might find interesting for theirreferences to the header formats.
http://www.nowsms.com/discus/messages/1/395.html
http://www.nowsms.com/discus/messages/1/462.html
http://www.nowsms.com/discus/messages/12/208.html
http://www.nowsms.com/discus/messages/1/136.html#POST1623
(http://www.nowsms.com/discus/messages/12/799.html)
Sos --- How to register mms client?
Posted on Friday, September 26, 2003 - 07:49 am:
Hi,i want write a program to receive MMS, but what should i register my program? i mean,
which registery should i write? thanks in advance.Anonymous
Posted on Friday, September 26, 2003 - 09:17 am:
duno what u meannewbie
Posted on Friday, September 26, 2003 - 10:33 am:
i mean, after writing a program, you must register
it to receive mms in advance. or your program will n't get the mms push notification message.
i want to know how to register?Bryce Norwood - NowSMS Support
Posted on Saturday, October 11, 2003 - 09:11 pm:
What are you registering with?
What platform is the client running on?
This would seem to be a question that is specific to whatever platform your client software is written for ...Anonymous
Posted on Monday, October 13, 2003 - 02:40 am:
PocketPCnewbie
Posted on Monday, October 13, 2003 - 06:10 am:
Hi,bryce,
thanks for your patient reply!
my clint is running on Smartphonw2002,and how it get MMS notification messge? I have register
appid and content type as following :
AppID: MyClient.exe
content-type: application/vnd.wap.mms-message
but when a mms notication arrives, mobile can't call myclient.exe to receive it. why? what should i do? thanks a lot.Bryce Norwood - NowSMS Support
Posted on Tuesday, October 14, 2003 - 02:13 am:
Well, you got me there. I'm definitely not an expert on either Pocket PC or MS Smartphone development.
The Pocket PC 2003 API defines an API called PushRouter_RegisterClient, which looks like what you would use:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guide_ppc/htm/_ mdref_pushrouter_registerclient.asp
I'm not sure if that API is also supported on the Smartphone platform.
Ifthat is the API that you are attempting to use (or a similar one), thenyou might be confused about the meaning of "AppID". In this context, itis not the name of your executable (szPath has the executable nameincluding path). Instead, it is referring to a push application id ...a list of which you can find on this page: http://www.wapforum.org/wina/push-app-id.htm
Unfortunately, the MS API documentation is not clear on how you would specify an appid using the binary value (only the text).
AppID 如下:
(http://www.wapforum.org/wina/push-app-id.htm)
PUSH Application ID
WINA assigns numbers for registered PUSH Application IDs. The numberspace is divided into three segments:
- 0x0000 - 0x7FFF: Well-known values, managed specified by the WAPworking groupprocesses. The application as represented by the URI must be defined inany WAP specification. URNs are required for URI and NID in URN [rfc2141 ] MUST be "x-wap-application".
- 0x8000 - 0xFF000000: Reserved values, registered and managed by WINA. URN with NID "x-wap-application" cannot be used.
- 0x04000 - 0x1FFFFF: Experimental values, registered by WINA only for advisorypurposes. URIs in the Well-Known and Reserved category SHOULD NOT be used.
In order to register a PUSH Application identifier, a short descriptionof its use must be provided.
See WAP-189 PUSH OTA Specification.for more information onPUSH Application identifiers.
Well Known Values
Registered Values
Private or Experimental Values
- mobile手机拦截彩像
- Windows Mobile手机拦截短息
- windows mobile 短信拦截
- Windows Mobile 消息拦截编程
- Windows Mobile RIL 来电拦截
- Windows Mobile系列手机操作系统
- Window Mobile 手机检测环境噪声
- windows mobile 手机抓包
- windows mobile 手机抓包
- Window Mobile关闭手机电源
- Windows Mobile手机GPS定位
- mobile之 手机组成常识
- jquery mobile手机自适应问题
- mobile环境手机模拟器播放手机视频
- Windows Mobile下如何拦截短信
- Windows Mobile下如何拦截电话
- Windows Mobile下如何拦截短信
- windows mobile 短信拦截IMAPIAdviseSink代码下载
- 以后多惦记爹娘
- 设计模式学习13 Template Method
- serlvet过滤器
- 哈哈,我的博客开通了
- 电脑高手常用的五个按钮
- mobile手机拦截彩像
- shutdown 和 start 命令
- oracle 建立新的数据库实例
- 使用javascript打开模态对话框
- Ajax应用需要注意的事项
- eclipse卡死
- 用busybox构建根文件系统及出错总结
- C#实现通用上传文件完整示例
- 手机网站开发必修课