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

Unable to access the local file system

1 Answer 66 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pat
Top achievements
Rank 1
Pat asked on 04 Nov 2013, 03:00 PM
I am trying to access the local file system and after DeviceReady I am using the code

window.requestFileSystem(LocalFileSystem.PERSISTENT, 0,
            function(localFileSystem)
            {
                alert("access ok");

            },
            function(error)
            {
              alert(Strings.noFileStore);
            }
        );

which is based on the code from the file access sample.
However the error function is always invoked.
Any suggestions for what the problem could be.

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 07 Nov 2013, 08:08 AM
Hi Pat,

The File sample works correctly on our end, does it work on your device? If it does, please compare the differences between your code and the one from the sample or use the sample as starting point for your app. You can also try to debug directly on your Android with remote debugger such as weinre or jshybbuger.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
AppBuilder Windows client
Asked by
Pat
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or