Accessing Microphone in Android SDK
<p>Is there any way to access the micro phone in a android phones similar to accessing the <strong><em>android.hardware.Camera</em></strong>?. 
I know we can use <strong>MediaRecorder</strong> to record audio from android application into a file as shown in this <a href="http://developer.android.com/guide/topics/media/index.html" rel="nofollow">link</a> .   </p>

<p>Let me explain what I want to do. I'm accessing Camera from android program to capture video and get each captured frame using Camera.Preview callback function. After decoding the frame I'll upload to say a streaming server (haven't tried practically yet :) ) These frames will contain only image information how can I get audio along with frames? </p>

<p>Can any one suggest me technique for implementing the above idea?</p>

<p>I'm still a beginer for android dev so I may sound stupid :)</p>

<p>Thanks in Advance</p>
