I'm trying to pass a Uri to the video camera as EXTRA_OUTPUT. The file
shoots and saves OK at the Uri I give it, but unfortunately pressing
the 'Retake' or 'Play' buttons crashes the application.
Does anyone know how I can supply a Uri in a way that won't crash the
Here's my code:
On a button c;lick event
Intent intent = new Intent(
File file = new File(Environment.getExternalStorageDirectory(), "/myvideo.MP4");
outputFileUri = Uri.fromFile(file);
Any kind of help will be greatly appreciated.