Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用“AudioRecord”类在我的应用程序中录制声音。一切正常,但是当应用程序进入后台时,录制会停止。我也尝试在单独的线程中开始录制。但是没有用。我该如何解决这个问题?任何想法?提前致谢。
创建一个扩展Service并在其中插入您的 AudioRecord 代码的类。希望能帮助到你。
Service