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.blackberry.community.SimpleXpBeaconPlugin.java

public class SimpleXpBeaconPlugin extends CordovaPlugin {

    private static final String TAG = "SimpleXpBeaconPlugin";

    private static final String PLUGIN_VERSION = "1.1.0";

From source file com.blockertech.SMSRetriever.java

public class SMSRetriever extends CordovaPlugin {
    private static final String LOGTAG = "SMSRetriever";

    public static final String ACTION_SET_OPTIONS = "setOptions";
    private static final String ACTION_START_WATCH = "startWatch";
    private static final String ACTION_STOP_WATCH = "stopWatch";

From source file com.boox.booxfile.BooxFile.java

public class BooxFile extends CordovaPlugin {
    private static final int PURPOSE_DATA = 0;
    private static final int PURPOSE_DOCUMENTS = 1;
    private static final int PURPOSE_CACHE = 2;
    private static final int PURPOSE_TEMP = 3;

From source file com.bourgein.cordova.imageintent.ImageIntent.java

public class ImageIntent extends CordovaPlugin {
    public static final String TAG = "FileOpen";
    public Context context;

    /**
     * Constructor.

From source file com.brandnewengine.plugins.Datausage.java

public class Datausage extends CordovaPlugin {

    private String getDetails() {

        String str = "hello world";

From source file com.brandnewengine.plugins.Smslog.java

/**
 * Most Cordova plugins have all their functionality in one file, therefore the same
 * pattern will be applied here. execute(...) method will be delegating to other
 * private methods, based on action.
 * Some ideas from this Stack Overflow post:
 * {@link http://stackoverflow.com/questions/5946262/read-only-specificonly-from-particular-number-inbox-messages-and-display-throu}

From source file com.bravisoftware.librasecontos.plugins.video.VideoPlayer.java

public class VideoPlayer extends CordovaPlugin {
    private static final String YOU_TUBE = "youtube.com";
    private static final String ASSETS = "file:///android_asset/";

    @Override
    public boolean execute(String action, JSONArray args, CallbackContext callbackContext) {

From source file com.bridge.Open.java

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

    public static final String OPEN_ACTION = "open";

From source file com.bsafe.sensors.motion.BSMotionSensorsPlugin.java

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

From source file com.byhook.cordova.chromelauncher.ChromeLauncher.java

public class ChromeLauncher extends CordovaPlugin {

    public static String TAG = "ChromeLauncher";

    /**
     * Executes the request and returns PluginResult.