如何在android中实现FM发射器?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11132406/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to implement FM Transmitter in android?
提问by LuminiousAndroid
I want to know how to implement FM Transmitter in android app. I want my android phone generate a radio frequency. So that I can play music on my phone and transmit it over radio frequency for a near by radio receiver (may be in a car) can amplify to larger audience. Just like TuneAudio on Nokia C7.
我想知道如何在 android 应用程序中实现 FM Transmitter。我想让我的安卓手机产生一个无线电频率。这样我就可以在我的手机上播放音乐并通过无线电频率将其传输给附近的无线电接收器(可能在车里)可以放大到更多的观众。就像诺基亚 C7 上的 TuneAudio 一样。
回答by
You would - need an FM Transmitter- that is, the appropriate hardwarefor generating frequencies in the desired range.
您将 -需要一个 FM 发射器- 即,用于在所需范围内生成频率的适当硬件。
It is a good thing portable FM Transmitterscan be bought from many electronic retailers. They usually plug into the 2.5mm Hyman and have a battery for several hours of transmission; there are Android/Phone-specific models as well.
可以从许多电子零售商处购买便携式 FM 发射器是一件好事。它们通常插入 2.5 毫米插孔,并有一块电池可以传输数小时;也有 Android/手机特定的型号。
The Nokia C7 already hasthe appropriate hardware built in. The standard "Android" does not.
诺基亚 C7已经内置了相应的硬件。标准的“Android”没有。
Good luck :)
祝你好运 :)
回答by LuminiousAndroid
Somebody over at XDA mentioned a similar thing
XDA 的某个人提到了类似的事情
http://forum.xda-developers.com/showthread.php?t=1092719
http://forum.xda-developers.com/showthread.php?t=1092719
It sounds really complicated, and potentially only available to certain roms, meaning it's probably not something easily achievable on android at the moment.
这听起来非常复杂,并且可能仅适用于某些 rom,这意味着目前在 android 上可能不容易实现。
Anyway good luck, I'd love to see this happening.
不管怎样,祝你好运,我很想看到这种情况发生。