You can use the DeviceStorage.stat() function: http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/devicestorage/nsIDOMDeviceStorage.idl#41
It'll asynchronously return a JSON object which contains information about used and remaining storage. / Jonas On Sat, Oct 6, 2012 at 3:45 PM, gerald kogler <[email protected]> wrote: > From which API could I get system information like free disk space? I'm > thinking of doing a disk usage analysis. Using DeviceStorageAPI get() method > iterating over all files and directories I could get disk usage but I want to > compare it to free disk space. > _______________________________________________ > dev-webapps mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-webapps _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
