Camera

Modified Cordova Camera Plugin supporting an image overlay on iOS.
micromedia-us0.0.10
platforms: android,ios,blackberry10,wp7,wp8,windows8,firefoxos
$ cordova plugin add us.micromedia.camera

micromedia-plugin-camera

This is the standard PhoneGap Camera PlugIn, modified by adding an overlay image (iOS only).

Description

Added the 'overlayName' to the 'cameraOptions' parameter used by 'camera.getPicture' method.

If used, overlayName must be set to the name of an image file to display over the camera.

The files that were changed:

  • src\ios\CDVCamera.m Added lines enclosed by '// Camera Image Overlay'
  • www\camera.js Added the overlayName option.

Usage

function OnCameraClick() { navigator.camera.getPicture( onSuccess, onFail, 
  {ovelayName: 'overlay.png'} } 

Here's an overlay image displayed over the camera view: Sample