Storage managment

Storage managment

BY 19 Aug 2014 Web Application Development

hi there!

I’ve downloaded sample “FileManager”. I would like to add functionality, to work with sdcard. how can i do it?

In app.model.js I’ve added storages: [{label: ‘root’, type: ‘INTERNAL’},{label: ‘flash’, type: ‘EXTERNAL’}], also i’ve implemented this 

loadExternalStorages: function Model_loadExternalStorages(onSuccess) {
            var self = this;
            
            this.systemIO.getStorages(‘EXTERNAL’, function (storages) {
                self.storages = storages;
                if(typeof onSuccess === ‘function’) {
                    onSuccess();
                }
            },’removable1′);
        },

what else?

Written by