The only way I see this possible is by having the MediaRecorder record
some sound for a very short time, have it stop and save the file, and
immediately start recording again. Then analyse the previous shot
sample. You have to do it this way, because you don't have direct
access to the sound stream from the mic.

On 5 apr, 22:34, John Doe <[email protected]> wrote:
> Hi everyone.
> I am trying to develop a program which detects noise level of
> outside.Is it loud or silent? How loud?
>
> Where should I start? Is there any example ? Any comment will be
> greatly appreciated...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to