扫描手机收到的短信并自动转发
我正在尝试创建一个应用程序,它可以自动转发收到的短信并将其从客户端手机发送到另一个手机号码。
也就是说,如果我在手机 A 中安装该应用程序,该应用程序应该将手机 A 中发送/接收的短信发送到我嵌入该应用程序的手机 B 中。
这可能吗? 如果是这样,我如何为支持 java 的手机实现它? 是否有一个现有程序可以为支持 java 的手机执行此操作
I am trying to create an application which can automatically forward the sms recieved and send from the client mobile to another mobile number.
That is if i install the app in mobile A, that app should take what ever sms sent/recieved in mobile a to mobile b whose number i embed in that application.
Is this even possible?
If so how can i implement it for a java supported phone?
is there an exisitng program that can do this already for a java supported phone
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 AT 命令在任何手机上访问 SMS 消息。您可以在以下链接中找到一些示例。
如果您使用的移动平台不包含从更高级别访问 SMS 消息的功能,您必须与手机上的调制解调器进行通信。通过在调制解调器端口发送命令和读取答案,您可以使用短信进行操作,因此在您的项目中,您可以简单地定期读取短信并将其发送到另一部手机。
我相信您可以通过浏览关键字“AT命令”、“Java”找到一些现有的示例。
You can access SMS messages on any phone by using AT commands. Here is a link where you can find some examples.
If the mobile platform you are working with doesn't include the functions to access SMS messages from higher level you have to communicate with modem on your phone. By sending commands and reading answers on modem port you can manipulate with SMS messages so in case of your project you can simply periodically read SMS messages and sending them to another phone.
I am sure you can find some existing examples by browsing keywords "AT commands", "Java".