FANDOM



The quick and dirty way to record a Video is using an Intent;


public static int VIDEO_CAPTURED = 1;

Intent captureVideoIntent = new Intent(android.provider.MediaStore.�ACTION_VIDEO_CAPTURE);
startActivityForResult(captureVideoIntent, VIDEO_CAPTURED);

protected void onActivityResult (int requestCode, int resultCode, Intent data) {
if (resultCode == RESULT_OK && requestCode == VIDEO_CAPTURED) {
Uri videoFileUri = data.getData();
}
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.