使用Android检测信号
我正在开发一个 Android 应用程序,我需要使用 Android 手机的天线来检测某种信号。有没有办法使用 Android 的天线检测任何类型的无线信号并识别它?或者信号必须是某种预定义的信号,例如 Wi-fi?
谢谢!
I'm working on an Android application where I need to use the antenna of Android phones to detect some kind of signal. Is there a way to detect any kind of wireless signal using Android's antenna and identify it? Or must the signal be some sort of pre-defined one like Wi-fi?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您无法从原生 Android SDK 接收任意频率的任意信号。您可以想象构建一个由 Android 驱动的软件定义无线电,但这需要修改固件,可能还需要修改硬件。
You cannot receive arbitrary signals of arbitrary frequencies from the stock Android SDK. You could conceivably build an Android-powered software-defined radio, but that would require modifications to the firmware and probably the hardware.
您是否考虑过他们制作调频收音机的方式?
通过使用耳机插孔作为模拟输入,您可以插入电线来制作天线。您甚至可以添加外部天线放大器。只是一个想法,但可能是你最好的选择。
Have you considered the same way they made the FM radio?
By using the headphone jack as an analog input, you can plug in a wire to make an antenna. You could even add an external antenna amplifier. Just a thought, but probably your best bet.