Windows Mobile WAP 唤醒
任何人都可以给我指导,或者更好 - 一个工作示例,在 Windows Mobile 中使用“WAP 唤醒”功能?
我正在尝试按照 http://msdn.microsoft.com/ 的指示进行操作en-us/library/aa919167.aspx 。 不幸的是,他们只给出了解决方案的开始。
第 1 步:注册您的应用程序以侦听来自特定端口的 SMS 消息。
步骤 2:向该端口发送 SMS 消息
步骤 3:应用程序打开并向应用程序侦听器类窗口发送消息
步骤 4:接收该消息并冒泡一个事件
我对步骤 2-4 毫无头绪。甚至正确的步骤?
could anyone please give me directions, or better - a working sample, of using the "WAP Wakeup" feature in Windows Mobile?
I'm trying to follow directions from http://msdn.microsoft.com/en-us/library/aa919167.aspx . Unfortunately, they only give the beginning of the solution.
Step 1: register your application to listen to SMS messages coming from a specific port.
Step 2: send an SMS message to that port
Step 3: the application opens up and sends a message to the application listener class window
Step 4: receive that message and bubble up an event
I am clueless about steps 2-4.. are those even the right steps?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我自己没有这样做过,但我在类似的领域工作过。
有两种方法可以发送 WAP SMS 消息(基本上是二进制 无线数据报协议 (WDP) 格式的二进制 SMS 消息)
SMS 网关允许您从互联网发送短信。 如果您在网络上搜索 SMS 网关,您应该会找到很多此类网关。 选择一个支持发送二进制短信的。
作为 WDP 标头的一部分,您必须指定一个端口号,即它们所涉及的端口号。
在发送短信之前,您需要咨询您的移动网络提供商,确保他们支持二进制短信,但并非所有移动网络都支持。
其余部分几乎遵循 Microsoft 示例:
I have not done this myself but I have worked in a simlar area.
There are two ways to send the WAP SMS Message (basically a binary Wireless Datagram Protocol (WDP) formatted binary SMS message)
A SMS Gateway allows you to send sms messages from the internet. If you search on the web for SMS gateways you should get lots of them. Pick one that supports sending Binary SMS Messages.
As part of the WDP header you have to specificy a port number, which is the port number they go on about.
Before you send the sms message, you need to check with your cellular provider that they support binary sms messages, not all cellular networks do.
The rest of it is pretty much following the Microsoft Example:
我按照所有规则发送了一条二进制短信,创建了注册表设置、应用程序...所有这些都按照微软论坛上有关 WAP 唤醒的内容编写...但是当移动设备收到短信时,它会直接进入收件箱...
任何人都可以知道需要在哪些方面提出观点..因为..在这个问题上花了3天..这不好:-(
i sent a binary sms by all rules, created a registry settings, application... all as written at the Microsoft forum about WAP Wakeup... but when mobile receives sms, its directly goes into Inbox....
may by anybody can tell on which aspects a need to make a point.. because.. 3 days on this problem.. this is not good :-(