且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android FM 信号强度

更新时间:2022-05-07 23:23:39

FM 收音机在某些手机中可用.无论如何,您必须内置 FM 调谐器(收音机).

FM radio is available in some phones. Anyways you must have an FM tuner (radio) built-in.

为此,我必须与硬件与否?

For this I have to interact with hardware or not?

是的,当然你必须这样做,因为它没有被带入堆栈.

Yes, of course you will have to as it has not been brought into the stack.

有没有什么API可以直接给我信号强度的值?

is there any API which can directly give me the value of signal strength?

我认为,不.

如果需要的话,也许您必须编写自己的 jni 和 java 源代码并将其添加到堆栈中.

Maybe you will have to write your own jni, and java source and add it to the stack, if you need one.