CB-837: CaptureCB - mediaFile.fullPath does not resolve to file

This commit is contained in:
macdonst 2012-05-29 15:55:21 -04:00
parent ca1a322c76
commit d79403e352

View File

@ -353,7 +353,7 @@ public class Capture extends Plugin {
try {
// File properties
obj.put("name", fp.getName());
obj.put("fullPath", fp.getAbsolutePath());
obj.put("fullPath", "file://" + fp.getAbsolutePath());
// Because of an issue with MimeTypeMap.getMimeTypeFromExtension() all .3gpp files
// are reported as video/3gpp. I'm doing this hacky check of the URI to see if it