Camera Intent keeps crashing

All your problems with Audio, Video and Images.

Camera Intent keeps crashing

Postby peru0002 » Sat Jul 30, 2011 10:16 am

Hi All,

I am using the following intent to invoke the camera and save the
recording as a specific name:

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);

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.

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.

Thanks In Advance,
Perumal
peru0002
Developer
Developer
 
Posts: 45
Joined: Thu Jan 21, 2010 5:56 am

Top

Re: Camera Intent keeps crashing

Postby ashleylim » Fri Nov 11, 2011 4:43 am

hi,
i have the same problem too..
any solution for this?
thanks in advance
ashleylim
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Nov 11, 2011 4:32 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 6 guests