[
https://issues.apache.org/jira/browse/CB-6117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13915872#comment-13915872
]
rita edited comment on CB-6117 at 2/28/14 3:31 PM:
---------------------------------------------------
Hi
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 The same url which I had saved from the successcallBack function of
fieltransfer,e.g <img
src="cdvfile://localhost/persistent/TESTFOLDER/ics-android.png">
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.
was (Author: ritasakhuja):
Hi
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 src=cdvfile://localhost/persistent/SPB/ics-android.png>
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: https://issues.apache.org/jira/browse/CB-6117
> 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
(v6.1.5#6160)