Unable to access the local file system

2 posts, 0 answers
  1. Pat
    Pat avatar
    31 posts
    Member since:
    Mar 2009

    Posted 04 Nov 2013 Link to this post

    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.
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 07 Nov 2013 Link to this post

    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.
Back to Top