Skip to content

droidraja/InstaCamera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InstaCamera

A cordova android camera plugin for taking multiple photos

Usage

  • git clone [email protected]:droidraja/InstaCamera.git
  • cd into your cordova project and execute $ cordova plugins add ./path/to/repo/InstaCamera
  • Call this function below to open the CameraActivity
cordova.plugins.InstaCamera.startCamera(function(files){
        console.log(files);
    },function(){},300);
  • The first two parameters are callback functions for success and failure. and the last parameter signifies the maxVideoDuration
  • In the success callback you have the access to the files created by the camera, it is a array of Strings.

Updating the plugin

  • Have not implemented versioning for this plugin, so if you want to upgrade with new code please remove and re-add the plugin again and will work with a breeze
//Get the changes with git pull
git pull origin master
cordova plugins remove com.sphata.instacamera && cordova plugins add ./path/to/repo/InstaCamera

The above commands should help you with that.

About

A cordova android camera plugin for taking multiple photos

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published