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.gkcgautam.asset2sd.Asset2SD.java

public class Asset2SD extends CordovaPlugin {
    private static final String TAG = Asset2SD.class.getSimpleName();

    private CallbackContext callbackContext = null;

    /**

From source file com.glasgowtiger.inappbrowser.InAppBrowser.java

@SuppressLint("SetJavaScriptEnabled")
public class InAppBrowser extends CordovaPlugin {

    private static final String NULL = "null";
    protected static final String LOG_TAG = "InAppBrowser";
    private static final String SELF = "_self";

From source file com.google.cordova.OkHttpPlugin.java

public class OkHttpPlugin extends CordovaPlugin {
    public static final OkHttpClient client = new OkHttpClient();
    static {
        URL.setURLStreamHandlerFactory(new OkUrlFactory(client));
    }
}

From source file com.google.cordova.plugin.browsertab.BrowserTab.java

/**
 * Cordova plugin which provides the ability to launch a URL in an
 * in-app browser tab. On Android, this means using the custom tabs support
 * library, if a supporting browser (e.g. Chrome) is available on the device.
 */
public class BrowserTab extends CordovaPlugin {

From source file com.google.payments.InAppBillingV3.java

public class InAppBillingV3 extends CordovaPlugin {

    protected static final String TAG = "google.payments";

    public static final int OK = 0;
    public static final int INVALID_ARGUMENTS = -1;

From source file com.google.zxing.BarcodeScanner.java

/**
* This calls out to the ZXing barcode reader and returns the result.
*/
public class BarcodeScanner extends CordovaPlugin {
    private static final String SCAN = "scan";
    private static final String CANCELLED = "cancelled";

From source file com.gotojmp.cordova.NativeAd.NativeAd.java

@SuppressLint("SetJavaScriptEnabled")
public class NativeAd extends CordovaPlugin {

    private static final String NULL = "null";
    protected static final String LOG_TAG = "NativeAd";
    private static final String SELF = "_self";

From source file com.gotojmp.cordova.uid.UID.java

public class UID extends CordovaPlugin {

    private static final String TAG = UID.class.getSimpleName();

    private static final int PHONE_STATE_CODE = 1;

From source file com.grumpysailor.cordova.devicerotationvector.RotationVectorListener.java

/**
 * This class listens to the rotation-vector sensor and stores the latest
 * acceleration values x,y,z.
 */
public class RotationVectorListener extends CordovaPlugin implements SensorEventListener {

From source file com.grumpysailor.cordova.magnetsensor.MagnetSensor.java

/**
 * This class listens to the accelerometer sensor and stores the latest
 * acceleration values x,y,z.
 */
public class MagnetSensor extends CordovaPlugin implements SensorEventListener {