All your problems with Audio, Video and Images.


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.011 seconds, using GeSHi

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"?

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


Return to Multimedia Problems

Who is online

Users browsing this forum: Majestic-12 [Bot] and 5 guests