Hi all, I have a problem with supplying a URI in the EXTRA_OUTPUT to the video camera. If I supply a URI, the file shoots and saves OK to that URI, but the 'retake' and 'delete' buttons on the camera both fail to work - 'retake' does nothing, and 'delete' does a force close.
If I don't supply a URI, then the video camera works fine. Here's my code: video = new File(Environment.getExternalStorageDirectory(), "my_video.3gp"); if (video.exists()) { Log.d(LOG_TAG, "Video exists, deleting"); video.delete(); } Intent videoCaptureIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); Log.d(LOG_TAG, "passing URI to video camera: " + Uri.fromFile(video).toString()); videoCaptureIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(video)); startActivityForResult(videoCaptureIntent,1); I would like to be able to supply the URI, if possible. Any ideas how I can do this without crashing the camera? Thanks Anna -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en