Example usage for org.apache.cordova CordovaPlugin subclass-usage

List of usage examples for org.apache.cordova CordovaPlugin subclass-usage

Introduction

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

Usage

From source file com.contentecontent.cordova.plugins.share.Share.java

public class Share extends CordovaPlugin {

    private void doSendIntent(String subject, String text, String imagePath, String mimeType) {
        Uri parsedUri = Uri.parse(imagePath);
        Intent sendIntent = new Intent(android.content.Intent.ACTION_SEND);
        sendIntent.setType(mimeType);

From source file com.cooee.cordova.plugins.camera.CameraLauncher.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.
 */
public class CameraLauncher extends CordovaPlugin implements MediaScannerConnectionClient {

From source file com.cooee.cordova.plugins.WhitelistPlugin.java

public class WhitelistPlugin extends CordovaPlugin {
    private static final String LOG_TAG = "WhitelistPlugin";
    private Whitelist allowedNavigations;
    private Whitelist allowedIntents;
    private Whitelist allowedRequests;

From source file com.cooee.cordova.plugins.WifiWizard.java

public class WifiWizard extends CordovaPlugin {

    private static final String LOG_TAG = "WifiWizardPlugin";

    private static final String ADD_NETWORK = "addNetwork";
    private static final String REMOVE_NETWORK = "removeNetwork";

From source file com.cordova.ImageResizePlugin.java

public class ImageResizePlugin extends CordovaPlugin {
    public static final String IMAGE_DATA_TYPE_BASE64 = "base64Image";
    public static final String IMAGE_DATA_TYPE_URL = "urlImage";
    public static final String RESIZE_TYPE_FACTOR = "factorResize";
    public static final String RESIZE_TYPE_MIN_PIXEL = "minPixelResize";
    public static final String RESIZE_TYPE_MAX_PIXEL = "maxPixelResize";

From source file com.cordova.plugin.android.jumiomobilecordovaPlugin.JumioMobileCordovaPlugin.java

public class JumioMobileCordovaPlugin extends CordovaPlugin {

    private static final int PERMISSION_REQUEST_CODE_NETVERIFY = 301;
    private CallbackContext callbackContext;
    private NetverifySDK netverifySDK;
    private JSONArray arg;

From source file com.cordova.plugin.AnyChatPlugin.java

/**
 * This class starts an activity for an intent to view files
 */
public class AnyChatPlugin extends CordovaPlugin {

    private static final String TAG = "AnyChatPlugin";

From source file com.cordova.plugin.CertPlugin.java

/**
 * This class starts an activity for an intent to view files
 */
public class CertPlugin extends CordovaPlugin {

    private static final String TAG = "CertPlugin";

From source file com.cordova.plugin.WhitelistPlugin.java

public class WhitelistPlugin extends CordovaPlugin {
    private static final String LOG_TAG = "WhitelistPlugin";
    private Whitelist allowedNavigations;
    private Whitelist allowedIntents;
    private Whitelist allowedRequests;

From source file com.cordova.plugins.barcodescanner.BarcodeScanner.java

/**
 * This calls out to the ZXing barcode reader and returns the result.
 *
 * @sa https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaPlugin.java
 */
public class BarcodeScanner extends CordovaPlugin {