Skip to content
This repository has been archived by the owner on Nov 23, 2019. It is now read-only.
/ cordova-camera Public archive

An element providing access to camera for cordova applications.

License

Notifications You must be signed in to change notification settings

mormubis/cordova-camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo and API docs

<cordova-camera>

<cordova-camera> provides an interface for taking pictures and for choosing images or videos from the system's image library. status.

Installation

In your www project:

bower install --save cordova-camera

In your cordova project:

cordova plugin add cordova-plugin-camera

Usage

<cordova-camera
  allow-edit
  direction="back"
  destination="data_url"
  encoding="png"
  media="{{picture}}"
  quality="100"
  ready
  save
  size="100x100"
></cordova-camera>

<cordova-camera> allow to take pictures and videos from the system. ready means cordova is fully operative and element is allow to provide pictures and videos.

There are some special treatments into the different platforms. For example: iOS doesn't allow file_uri destination, instead use native_uri. Please take a look the documentation for more information.


Note

Due to restrictions ready attribute is not shown into attributes table.

About

An element providing access to camera for cordova applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages