在Android中对麦克风进行后台访问 [英] Background Access to Microphone in Android
问题描述
是否可以通过Android手机上的后台应用程序(服务?)持续监视麦克风?
Is it possible to be constantly monitoring the microphone from a background application (service?) on an Android phone?
对我想做什么的一些想法:
Some idea of what I want to do:
- 不断收听背景中的声音信号。
- 收到有趣的音频信号,执行一些网络操作。
如果前台应用程序要求后台应用程序必须能够智能地放弃对麦克风的访问(除非可以共享吗?)-例如
The background application must be able to intelligently relinquish access to the microphone should a foreground application require it (unless it can be shared?) - e.g. to make a call.
这可能吗?
推荐答案
录音可能有音频,请查看以下链接:
Recording audio is possible check out these links:
从此帖子中获得了它们如何在Android上使用麦克风。
Got them from this post How to use the microphone on Android .
所以我在想应该可以在后台服务中记录。没有时间atm进行验证。
So I'm thinking it should be possible to record inside an background service. Don't got the time atm to verify it.
这篇关于在Android中对麦克风进行后台访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!