Java发送和接收短信。免费短信网关?
在 SOverflow 上的一些问题上,我发现这个。但它说目前不可用,并且可能永远不会可用。
基于 这我意识到没有必要构建自己的短信服务。
所以问题是:
我的java应用程序必须向用户发送SMS消息并从用户接收SMS消息。 我真的需要支付一些短信网关的费用吗?还是有一些免费的短信网关(当然有一些限制)可以用来测试我的应用程序?
Simplewire Kit 看起来非常简单,但演示示例失败了,因为我没有 Simplewire 帐户。 Simplewire 文档称发送短信有 30 天的试用期。但这适用于两种方式:
“对于 2 种方式,演示积分不可用,因为您需要 Simplewire 网络上托管的自己的手机号码。简单线 支持许多不同国家和地区的2路号码 代码。请联系 Simplewire 了解更多信息。”
On some questions here on SOverflow I found THIS. But it says that it is not avaiable at the moment and probably it will never get avaiable.
Based on THIS I realised that there is no need on building my own SMS service.
So the question:
My java application has to send SMS messages to users and receive SMS messages from users.
Do I really need to pay some SMS gateway or is there some free SMS GATEWAY (with some limitations ofcourse) that I could use to test my application?
Simplewire Kit looks really simple but the demo examples are failing because I don' have Simplewire account. Simplewire documentation says that there is a 30-day trial for sending SMS. But this is for two way:
"For 2-Way, demo credits are not available because you will need your
own mobile number hosted on Simplewire’s Network. Simplewire
supports 2-Way numbers for many different countries and area
codes. Please contact Simplewire for more information."
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
仅供参考 Simplewire 现在是 OpenMarket.com/MXTelecom.com
有几个免费的短信网关,但它们都在您的消息中附加短信广告以支付费用。 ZeepMobile 是我听到最多的一个。至于付款,有几种解决方案,但这一切都取决于您的需求。
双向通信需要最终用户订阅您的服务。有几种方法可以解决此问题:
短代码:您可以获取自己的代码 (www.openmarket.com) 或与其他人共享 (www.clickatell.com)
您可以使用一项新服务 www.twilio.com 看起来不错,但尚未测试。
如果您只需要一种通信方式,您可以使用电子邮件到网关短信之类的东西,但是您会需要知道最终用户所在的运营商。
FYI Simplewire is now OpenMarket.com/MXTelecom.com
There are a couple of free SMS gateways but they all attach a SMS ad in your message to pay for the cost. ZeepMobile is the one I hear about the most. As for paying there are a couple of solution but this all depends on your needs.
Two way communication would require the end user to subscribe to your service. There are a few ways to approach this:
Short Code: you could get your own (www.openmarket.com) or share with others (www.clickatell.com)
You could use a new service www.twilio.com looks to be good but haven't tested it yet.
If one way communication is all you need you could so something like email to gateway sms but then you would need to know the carrier the end user is on.
Fowiz 提供免费的基于 Android 的解决方案,用于从应用程序发送/接收短信。您需要在设备上安装他们的 Android 应用程序才能启用此服务,并且消息将在您的手机上发送/接收。您可以设置 CallbackUrl 以接收传入消息的即时通知。 Fowiz 还支持短代码、活动管理、投票等。
通过 Fowiz 发送消息的示例代码:
来源:http:// /cloud.fowiz.com/2help.html
Fowiz offers free Android based solution to send/receive text messages from applications. You need to install their Android App on your device to enable this service and the messages are sent/received on your phone. You can setup CallbackUrl to receive instant notification on the incoming messages. Fowiz also supports short codes, campaign management, voting etc.
Sample code to send message via Fowiz:
Source: http://cloud.fowiz.com/2help.html
是的,您可以在 5 分钟内构建自己的 API。您的 Android 手机可以作为服务器 API 在您的 Java 代码中发送和接收短信。这样做非常简单。有一些基本步骤
如果你想一步步学习。还有指南和视频教程。 用 Java 发送或接收免费短信< /p>
Yes you can build an API your own within 5 minutes. Your android phone can work as Server API to send and receive SMS in your Java code. It is very simple to do that. there are the some basic steps
If you want to learn step by step. there is also guide and video tutorial. Send or receive FREE SMS in Java