Android 手机作为 GSM 调制解调器
我希望我的 android 能够作为 GSM 调制解调器工作,或者通过任何其他方式,特别是使用一些编程语言库通过它发送短信。以编程方式以及配置/安装等方式执行此操作的方法是什么?
I would like my android to work as a GSM Modem, or by any other means, specifically, to send sms through it using some programming language library. What could be the way to do it programmatically as well as configurations/installations etc?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
1) 了解如何以编程方式发送短信
2) 了解如何编写 Android 服务
3) 了解如何通过 wifi、蓝牙、adb 端口转发等与本地计算机通信,以便您可以执行命令
4) 请注意运营商的条款服务 - 您的“无限制”计划可能不允许您将该设备用作群发短信网关。
实际上,我认为可以通过构造意图从 adb 命令行发送短信,在这种情况下,您可以使用 PC 上的脚本来完成这一切,该脚本将正确的命令传输到 adb - 无需在手机上进行开发全部。
1) Learn how to send sms programatically
2) Learn how to write an android service
3) Learn how to talk to the local computer over wifi, bluetooth, adb port forward, etc so you can take commands
4) Be mindful of your carrier's terms of service - your "unlimited" plan probably does not let you use the device as a mass sms gateway.
In actuality, I think it's possible to send an sms from the adb command line by constructing an intent, in which case you could do it all with a script on the pc that pipes the right commands into adb - no development on the phone needed at all.