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);
- Also I want to show a preview of the video in my application and then if the user clicks the preview i need to open it up in a video player. Can I get some help on that as well. Thank you.