cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Ginchereau (JIRA)" <>
Subject [jira] [Updated] (CB-7075) BlackBerry10 filesystem URIs are inconsistent and hacky
Date Wed, 11 Nov 2015 00:51:11 GMT


Jason Ginchereau updated CB-7075:
    Priority: Minor  (was: Major)

> BlackBerry10 filesystem URIs are inconsistent and hacky
> -------------------------------------------------------
>                 Key: CB-7075
>                 URL:
>             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
>            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 (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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message