Example usage for org.apache.cordova.camera CameraLauncher subclass-usage

List of usage examples for org.apache.cordova.camera CameraLauncher subclass-usage

Introduction

In this page you can find the example usage for org.apache.cordova.camera CameraLauncher subclass-usage.

Usage

From source file com.plugin.camera.ForegroundCameraLauncher.java

/**
 * This class launches the camera view, allows the user to take a picture,
 * closes the camera view, and returns the captured image. When the camera view
 * is closed, the screen displayed before the camera view was shown is
 * redisplayed.
 */

From source file com.plugin.gallery.ForegroundGalleryLauncher.java

public class ForegroundGalleryLauncher extends CameraLauncher {

    private int mQuality; // Compression quality hint (0-100: 0=low quality &
    // high compression, 100=compress of max quality)
    private int targetWidth; // desired width of the image
    private int targetHeight; // desired height of the image