Reputation: 32861
I use the below intent to call the camera application to capture video. This is working fine. But On the onActivityResult I am not sure how to store this into a file in SD card
. Can some one give me a sample to do this. Thank you.
Intent cameraIntent = new Intent(
android.provider.MediaStore.ACTION_VIDEO_CAPTURE);
startActivityForResult(cameraIntent, CAMERA_VIDEO_REQUEST);
Upvotes: 0
Views: 1554
Reputation: 3949
You can use the MediaRecorder class to capture video and store it somewhere in the sdcard.
Pls have a look at the link below which might help you
How can I capture a video recording on Android?
Thanks!
Upvotes: 1