cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rita (JIRA)" <>
Subject [jira] [Commented] (CB-6117) cdvfile file url is not working with html5 image src
Date Fri, 28 Feb 2014 15:30:21 GMT


rita commented on CB-6117:

 Can you share the code snippet for the above API for lower version of 2.5.
After I updated my manifest file with min:16 and Max SDK:19,I could see the image.

But even on latest sdk I am facing one more issue.
I downloaded the file and save the url in the local storage,so that next time I do not need
to redownload the  image.
This scenario actually works till 2.9.0.But now same url 
But The same url which I had saved from the successcallBack function of fieltransfer,<img
stops working if I stop or reinstall the app.I crossed checked that file is actually physically
present in fileExplorer.But reinstalling or restartin of app after forceStop,url do not work.

Please help.

> cdvfile file url is not working with html5 image src
> ----------------------------------------------------
>                 Key: CB-6117
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File, Plugin File Transfer
>    Affects Versions: 3.4.0
>            Reporter: rita
> Hi 
> I had used the fileTranser APi to download the image from a given path.
> The image was downloaded at the path cdvfile://localhost/persistent/SPB/ics-android.png.
> But I am unable to access this image as url for <img> tag in html.Same code was
working till 2.9.0

This message was sent by Atlassian JIRA

View raw message