简体   繁体   English

我们可以访问我的Android手机的麦克风驱动程序

[英]Can we access the Microphone driver of my android phone

Can we access the Microphone driver of my android phone using Android NDK if so then how can I? 我们可以使用Android NDK访问我的Android手机的麦克风驱动程序吗?如果有,那我该怎么办?

Can I set the driver disabled for some time? 我可以将驱动程序设置为禁用一段时间吗?

Can I detect application name of my phone which is using my phone microphone? 我可以检测使用手机麦克风的手机的应用程序名称吗?

As per Android Multimedia framework the MediaServer is responsible for opening the device and the Java based audio applications connect it as a client. 根据Android多媒体框架,MediaServer负责打开设备,基于Java的音频应用程序将其作为客户端连接。 The data transfer happens on the Binder. 数据传输发生在Binder上。 May because of this there is only one process seen which opens the audio device. 因此,只有一个进程可以打开音频设备。 Now I want to know how to get information from MediaServer? 现在我想知道如何从MediaServer获取信息? Anyone knows this or any other idea to find which application is using my phone microphone,i can't use the root permission. 任何人都知道这个或任何其他想法找到哪个应用程序正在使用我的手机麦克风,我不能使用root权限。

No, you cannot. 你不能。 :-) :-)
(even using NDK) (甚至使用NDK)

Specific hacks might exist for certain devices. 某些设备可能存在特定的黑客攻击。
But they would definitely interfere with the proper operation of Android framework. 但它们肯定会干扰Android框架的正常运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM