MediaStore.ACTION_VIDEO_CAPTURE Issue

All your problems with Audio, Video and Images.

MediaStore.ACTION_VIDEO_CAPTURE Issue

Postby bmalicoat » Mon Mar 29, 2010 10:31 pm

I was passing in a URI using
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. videoCaptureIntent.putExtra (MediaStore.EXTRA_OUTPUT, Uri.fromFile (video));
Parsed in 0.031 seconds, using GeSHi 1.0.8.4

but the 'Retake' and 'Play' buttons would crash my app. I am trying to switch and let the Intent store the file where it wants but I can't figure out how to recover the URI where it is saved to. The docs say this:

The caller may pass in an extra EXTRA_OUTPUT to control where the video is written. If EXTRA_OUTPUT is not present the video will be written to the standard location for videos, and the Uri of that location will be returned in the data field of the Uri.


But what is "the data field of the Uri"?

Thanks
bmalicoat
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Mar 29, 2010 10:27 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 24 guests