Is there any way to access the micro phone in a android phones similar to accessing the android.hardware.Camera?. I know we can use MediaRecorder to record audio from android application into a file as shown in this link .
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?
Can any one suggest me technique for implementing the above idea?
I'm still a beginer for android dev so I may sound stupid :)
Thanks in Advance