locked
Problem with resolving the file url in windows 8

    Question

  • I am developing a windows 8 app. I am using cordova plugins to capture image and upload to server. But when I am resolving the file url  using 

    window.resolveLocalFileSystemURL(fileURI, onResolveSuccess,onResolveFail);

    It gets fail with error code - 5.

    file URI is like- 

    • ms-appdata:///local/picture001.jpg  - when captured image
    • blob:1439104B-EB70-4731-8039-9493259BCC4B - when select from existing images

    what path should be there and how it will come. 

    Thanks in advance.

    Monday, September 1, 2014 10:48 AM

Answers

  • Hi Asha,

    I think this could be a Cordova bug, take a look at the cordova site: https://issues.apache.org/jira/browse/CB-6116 

    You may get more sufficient help from Cordova site.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    Wednesday, September 3, 2014 6:39 AM
    Moderator