You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Suraj Pindoria (JIRA)" <ji...@apache.org> on 2017/12/14 19:39:01 UTC

[jira] [Closed] (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 ]

Suraj Pindoria closed CB-7075.
------------------------------
    Resolution: Fixed

> 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: cordova-plugin-file, cordova-plugin-file-transfer (DEPRECATED), cordova-plugin-media, cordova-plugin-media-capture
>    Affects Versions: 3.5.0
>         Environment: Windows 8.1, BlackBerry10
>            Reporter: Doug Moscrop
>            Priority: Minor
>              Labels: BlackBerry10, Triaged
>
> (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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org