Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-172

window.requestFileSystem() returns a INVALID_MODIFICATION_ERR on devices without an SD Card

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.1.0, 1.2.0, 1.3.0
    • 1.4.0
    • cordova-android
    • None

    Description

      I'm using Phonegap to develop an HTML5 application for android but when I try the following code to acquire a file system:

      window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, fsSuccess, fsFail);
      I get error code 9 i.e. INVALID_MODIFICATION_ERR.

      According to this source, this is caused by the lack of an SD card on the device, but my android device has 1.5GB of internal storage on it. and of course not all devices are expected to have external SD on them!

      Attachments

        Activity

          People

            macdonst Simon MacDonald
            macdonst Simon MacDonald
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: