Рет қаралды 1,113
This video shows how to use Intent to launch camera to capture a video.
The code used is:
Intent takeVideoIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
if (takeVideoIntent.resolveActivity(getPackageManager()) != null) {
startActivityForResult(takeVideoIntent, REQ_CD_CAM);
}