is it possible in android to record the call during incoming or outgoing calls
<p>i am here for asking that in android is it possible to record voice call during incoming/outgoing calls without open the speaker of mobile...i had seen a application in android market..it does not correctly record other side voice without opening the speaker because it uses mic for recording purpose..may it be done by some other techniques pls suggest me ..</p>

<pre><code>final MediaRecorder Callrecorder = new MediaRecorder();

Callrecorder.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL);
Callrecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
Callrecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
Callrecorder.setOutputFile(recordPath);
Callrecorder.prepare();
Callrecorder.start();



thanks in advance...
</code></pre>
