Does this help ?

MediaRecorder recorder = new MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);

int maxvol = recorder.getMaxAmplitude();

Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Jul 26, 1:45 pm, Alex Mendez <[email protected]> wrote:
> Hi, I've been trying to get the sound level coming from the mic but I
> can't find a way to do it. In all the documentation I could find I
> didn't find anything that could help me read the sound level from the
> mic.
>
> Anyone knows how to do it?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to