<cordova-camera>
provides an interface for taking pictures and for
choosing images or videos from the system's image library.
status.
In your www
project:
bower install --save cordova-camera
In your cordova
project:
cordova plugin add cordova-plugin-camera
<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.
Due to restrictions ready
attribute is not shown into attributes table.