在 MIDlet 中使用 GPRS 发送短信
我想在 MIDlet 中使用 GPRS 发送短信... 任何人都可以帮助我吗?
提前致谢...
i want to send a SMS using GPRS in MIDlet...
anyone can help me??
Thanks in advance...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
发送短信是一个需要征服的巨大野兽。现在我对j2me一无所知,但我确实对SMS有所了解,因为我曾经参与过一个类似的项目(由于以下原因而被放弃)。
缺点是,如果您不知道要发送到哪个运营商,则必须使用 GSM 运营商来发送短信。这是因为运营商知道如何将消息发送到适当的手机。
您可以通过电子邮件发送[电子邮件受保护],但问题来自于事实您必须知道电话号码指向哪个运营商。
曾几何时,您可以通过第二组三位数 xxxYYYxxxx(y)告诉运营商,但由于电话号码可移植性,您不能再这样做。
简而言之,请查看 Kannel,但您仍然需要通过 GSM 发送(您可以获得 PCI 卡可容纳 SIM 卡),或者您也可以支付订阅。
Sending SMS is a HUGE beast to conquer. Now I don't know the first thing about j2me, but I do know a bit about SMS since I was at one point working on a similar project (abandoned for the reason below).
The short end of it is that you MUST use a GSM carrier to send SMS if you don't know what carrier to send to. This is because carriers know how to send the message to the appropriate cell phone.
You could send via email [email protected] but the problem comes with the fact that you have to know which carrier the phone number points to.
Once upon a time you could tell the carrier by the second set of three digits xxxYYYxxxx (the y's), but you can no longer do this because of phone number portability.
In short, check out Kannel, but you'll still need to send via GSM (you can get PCI cards that hold SIM cards), or you can pay a subscription.