Access Persistant and temporary storage with simultor

3 posts, 0 answers
  1. Bala Chandra V
    Bala Chandra V avatar
    10 posts
    Member since:
    May 2014

    Posted 27 May 2014 Link to this post

    Hello, I am working on Android App using Phone Gap. I am using below API "window.resolveLocalFileSystemURI(file, resolveOnSuccess, OnError);" to get file entry. But my simulator is throwing error saying no method found. I am accessing file from the path which i set as Temporary/persistant storage.

    I am not sure what the problem here is. Can someone explain this. I am using Visual studio extension.
    .
  2. Bala Chandra V
    Bala Chandra V avatar
    10 posts
    Member since:
    May 2014

    Posted 27 May 2014 in reply to Bala Chandra V Link to this post

    FileSystem {name: "Persistent", root: DirectoryEntry}
    name: "Persistent"
    root: DirectoryEntry
    filesystem: FileSystem
    fullPath: "file:///C:/Users/Balac_000/Documents/Telerik/Icenium/Simulator/Storage/Persistent"
    isDirectory: true
    isFile: false
    name: "Persistent"
    Here is my persistant storage. When I select any image from the above storage location here is the path I am getting.
    http://localfile/Simulator////C:/Users/Balac_000/Documents/Telerik/Icenium/Simulator/Storage/Persistent/Ais.png .

    I am not sure how to get this resolveLocalFileSystemURI work. any inputs please?
  3. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 30 May 2014 Link to this post

    Hi Bala Chandra V,

    Thank you for writing.

    Could you please share the code, used for selecting an image from the storage (including the window.resolveLocalFileSystemURI() function)?

    Thank you in advance.

    Regards,
    Kaloyan
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
Back to Top