-1

how to measure noise in android,means when I run my app,there is a MIC which hear noise and send me result that noise is good or bad.

Lukas Knuth
  • 25,449
  • 15
  • 83
  • 111

1 Answers1

0

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.

vnshetty
  • 20,051
  • 23
  • 64
  • 102