Record sound in android
<pre><code>Intent intent=new Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION);
startActivityForResult(intent, VoiceHandler.VOICE_FLAG);
</code></pre>

<p>This code execute fine with my ICS device but not with my android 2.3 device this code throws </p>

<pre><code>android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.provider.MediaStore.RECORD_SOUND }
</code></pre>
