如何从Java应用程序向手机发送消息

问题描述:

如何从Java应用程序向移动设备发送消息.我需要一些示例代码.

How to send a message from java applicaction to mobile. I want some sample codes.


消息
最一般意义上的消息是通信的对象.它是提供信息的容器.但是,也可以是信息.因此,其含义取决于使用它的上下文;该术语可能同时适用于信息及其形式.公报(发音为/kəˈmjuːnɪkeɪ/)是公共机构发布的简短报告或声明."
-*
您应该使用的简单文字消息到现在为止已经发现,如果单独使用它不是一个非常具有描述性的术语.可以通过协议,通信通道甚至内容编码对消息进行分类.如果您只想告诉我们您所谈论的是哪种信息,对我们来说,它将变得非常容易.

—MRB

Message
"A message in its most general meaning is an object of communication. It is a vessel which provides information. Yet, it can also be this information. Therefore, its meaning is dependent upon the context in which it is used; the term may apply to both the information and its form. A communiqué (pronounced /kəˈmjuːnɪkeɪ/) is a brief report or statement released by a public agency."
—Wikipedia
The simple word message, as you should have by now found out, is not a very descriptive term if used on its own. Messages can be classified by either protocol, communication channel or even content encoding. You would make it so much easier for us if you would just tell us what kind of message exactly you are talking about.

—MRB


以下是一些选项 ^ ]

移动电话应被视为部分连接的设备,而消息队列技术可以很好地解决此问题.

最好的问候
Espen Harlinn
Here are a few options jms mobile example[^]

Mobile phones should be treated as partially connected devices, and message queuing technologies handles this excellently.

Best regards
Espen Harlinn