You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Simon MacDonald (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/25 22:39:39 UTC

[jira] [Resolved] (CB-172) window.requestFileSystem() returns a INVALID_MODIFICATION_ERR on devices without an SD Card

     [ https://issues.apache.org/jira/browse/CB-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon MacDonald resolved CB-172.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.0

If requestFileSystem() can't find an SD Card on Android it now will default to internal storage.
                
> window.requestFileSystem() returns a INVALID_MODIFICATION_ERR on devices without an SD Card
> -------------------------------------------------------------------------------------------
>
>                 Key: CB-172
>                 URL: https://issues.apache.org/jira/browse/CB-172
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.0.0, 1.1.0, 1.2.0, 1.3.0
>            Reporter: Simon MacDonald
>            Assignee: Simon MacDonald
>             Fix For: 1.4.0
>
>
> 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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira