This doesn't work with the emulator but it does work on my device.

On Jul 28, 8:07 pm, "Balwinder Kaur (T-Mobile)" <balwinder.k...@t-
mobile.com> wrote:
> 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 <twist...@gmail.com> wrote:
>
>
>
> > Hi, I've been trying to get thesoundlevelcoming 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 thesoundlevelfrom 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 android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to