This is a migrated thread and some comments may be shown as answers.

Access Persistant and temporary storage with simultor

2 Answers 83 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bala Chandra V
Top achievements
Rank 1
Bala Chandra V asked on 27 May 2014, 01:10 PM
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 Answers, 1 is accepted

Sort by
0
Bala Chandra V
Top achievements
Rank 1
answered on 27 May 2014, 01:29 PM
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?
0
Kaloyan
Telerik team
answered on 30 May 2014, 10:59 AM
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!

 
Tags
AppBuilder extension for Visual Studio
Asked by
Bala Chandra V
Top achievements
Rank 1
Answers by
Bala Chandra V
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or