Android ACTION_VIDEO_CAPTURE Intent Crashes
<p>I am using the following intent to invoke the camera and save the
recording as a specific name:</p>

<pre><code>filepath = "/sdcard/testfolder/testvid.mp4";
File vidfile = new File(filepath);
Uri viduri = Uri.fromFile(vidfile);
Intent i = new
Intent(android.provider.MediaStore.ACTION_VIDEO_CAPTURE);
i.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, viduri);
startActivity(i);
</code></pre>

<p>However the application keeps on crashing (The application has ....
stopped unexpectedly). But I noticed that the file has been saved with
the required name in the directory.</p>

<p>Any idea how can i resolve this? Basically I want to start the video
camera and save the subsequent recording in a specific directory and
name.</p>

<p>Thanks In Advance,
Perumal</p>
