You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jason Ginchereau (JIRA)" <ji...@apache.org> on 2015/11/05 19:18:27 UTC
[jira] [Updated] (CB-7075) BlackBerry10 filesystem URIs are
inconsistent and hacky
[ https://issues.apache.org/jira/browse/CB-7075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Ginchereau updated CB-7075:
---------------------------------
Labels: BlackBerry10 (was: )
> BlackBerry10 filesystem URIs are inconsistent and hacky
> -------------------------------------------------------
>
> Key: CB-7075
> URL: https://issues.apache.org/jira/browse/CB-7075
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin File, Plugin File Transfer, Plugin Media, Plugin Media Capture
> Affects Versions: 3.5.0
> Environment: Windows 8.1, BlackBerry10
> Reporter: Doug Moscrop
> Labels: BlackBerry10
>
> (sorry for the Component/s spam but it's the pieces involved)
> 1. Record an audio clip using media-capture
> 2. Play the audio clip using the media
> 3. Upload the audio clip using file-transfer
> The URI returned from the audio part of media capture is "bare", i.e. this is the fullPath:
> /accounts/1000/shared/voice/VN-20140704-020436.m4a
> If I want to play that audio using "new Media" I have to prefix that URI with "file://" otherwise it gives me a cryptic **encoding** error!
> However, if I try to use file-transfer using either the bare URI or the hacked prefixed URI it fails! To make *that* work I have to instead separately prefix the bare URI with cdvfile://localhost/root (not persisent!) and then it works.
> --
> A note, to make matters more complicated, using navigator.camera.capture (not media-capture) for a photo, returns a URI that looks like:
> file:///accounts/1000/shared/camera/IMG_20140704_020404.jpg
> In other words, it's the same as the bare URI + prefix that I mentioned above except... file-transfer works fine with that URL! I don't even.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org