如何在android中测量噪音,意味着当我运行我的应用程序时,有一个麦克风可以听到噪音并向我发送噪音是好是坏的结果。
1 回答
First you go through this document and try out some examples ..gud luck
Handling the AUDIO_BECOMING_NOISY Intent
Many well-written applications that play audio automatically stop playback when an event occurs that causes the audio to become noisy (ouput through external speakers). For instance, this might happen when a user is listening to music through headphones and accidentally disconnects the headphones from the device. However, this behavior does not happen automatically. If you don't implement this feature, audio plays out of the device's external speakers, which might not be what the user wants.