Yeah getMaxAmplitude is exactly what I was looking for. I want to run this application as a background service. So I want it to use as little battery power as possible. I dont want it to record voice save it and consume so much battery (though I dont know if saving audio consumes much battery power). But is there any restriction that I can use in order to decrease the battery consumption? Or should I start and finish at regular intervals and calculate the average of noise level.
Thanks in advance! On Apr 6, 3:58 am, Pavel <[email protected]> wrote: > How about repeatedly call getMaxAmplitude method > ofhttp://developer.android.com/reference/android/media/MediaRecorder.html > while recording to file? This is the way Christopher Souvey > implemented it in Musical application. > > Pavel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

