title: Record voice as mp3 in Android
body: <p>In my android application, I want to record my voice as an MP3 file. But Android's <code>Media Recorder</code> (class that supports audio recording) does not seem to support MP3 format. It seems to allow only 3gp and mpeg4 file formats. </p>
  
  <pre><code>recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
  recorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG4);
  </code></pre>
  
  <p>Can anyone help me out or give me a code ?</p>