Skip to content

A PhoneGap plugin to insert into the phone's gallery. Supports IOS and Android

Notifications You must be signed in to change notification settings

inator/LibraryHelper-phonegap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LibraryHelper-phonegap

A PhoneGap plugin to insert into the phone's gallery. Supports IOS and Android

Install

IOS

Add LibraryHelper.h and LibraryHelper.m to your plugins directory.

Add LibraryHelper.js and include it from your html.

Add to Cordova.plist Plugins: key:libraryHelper value:LibraryHelper.

Android

Add LibraryHelper.java to src/com/greenqloud/plugin/LibraryHelper.java

Add LibraryHelper.js and include it from your html.

Add the following to res/xml/config.xml

<plugin name="LibraryHelper" value="com.greenqloud.plugin.LibraryHelper"/>

Usage

Photo

windows.plugins.libraryHelper.saveImageToLibrary(fullPath, successfullCallback, errorCallback); 

Video

windows.plugins.libraryHelper.saveVideoToLibrary(fullPath, successfullCallback, errorCallback);

Author: Cory Thompson (http://coryjthompson.com)

License: http://www.opensource.org/licenses/mit-license.php The MIT License

About

A PhoneGap plugin to insert into the phone's gallery. Supports IOS and Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published