Skip to content

wymsee/cordova-internalStorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova InternalStorage Plugin

Cordova/Phonegap Android plugin to retrieve the internal storage directory.

This plugin is based heavily on the cordova File plugin and depends on it.

Installation

//cordova
cordova plugin add https://github.com/TheKiteEatingTree/cordova-internalStorage.git

//phonegap
phonegap local plugin add https://github.com/TheKiteEatingTree/cordova-internalStorage.git

Usage

The plugin registers an internalStorage global. It has only 1 function: getDir. getDir returns a cordova/phonegap DirectoryEntry.

Example:

internalStorage.getDir(function(fileSystem) {
	//success callback
	console.log(fileSystem.root);
}, function() {
	//error callback
	console.warn("Could not open internal storage");
});

It was developed by Wymsee for SyncOnset

About

Cordova / Phonegap Android plugin to retrieve the internal storage directory.

Resources

License

Stars

Watchers

Forks

Packages

No packages published