Android: record decibel from microphone
问题 i've got problem on implementing this functionality in Android... i need only to output the decibel redorded from the microphone, and it's a thing that i can't understand: public class Noise extends Activity{ @Override protected void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); MediaRecorder recorder=new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); Timer timer=new Timer(); timer.scheduleAtFixedRate(new RecorderTask(recorder), 0, 500); }