title: Recording sound into bytestream in Android
body: <p>I want create an app which records a sound into bytestream and it can be listened again. It will not save the recorded audio into a file, rather it will save it into a hardware memory. And a play option will be there by which the recorded file can be played. Recorded system will be like talking tom: record the audio and play it instantly</p>
  
  <p>Can anyone provide me a sample code for this functions ?</p>