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.phonegap.plugins.Firebase.CDVFirebase.java

public class CDVFirebase extends CordovaPlugin {
    //public static final int REQUEST_CODE = 0x0abbc0de;
    public static boolean isUsed = false;
    public static String appName = "";

    //    public static final String CANCEL = "cancel";

From source file com.phonegap.plugins.ImageResizer.ImageResizePlugin.java

public class ImageResizePlugin extends CordovaPlugin {

    private static final String LOG_TAG = "ImageResizePlugin";

    public static String IMAGE_DATA_TYPE_BASE64 = "base64Image";
    public static String IMAGE_DATA_TYPE_URL = "urlImage";

From source file com.phonegap.plugins.nativesettings.NativeSettings.java

public class NativeSettings extends CordovaPlugin {

    @Override
    public boolean execute(String action, JSONArray args, CallbackContext callbackContext) {
        PluginResult.Status status = PluginResult.Status.OK;
        String result = "";

From source file com.phonegap.plugins.nativesettings.NativeSettings.java

public class NativeSettings extends CordovaPlugin {

    @Override
    public boolean execute(String action, JSONArray args, CallbackContext callbackContext) {
        PluginResult.Status status = PluginResult.Status.OK;
        String result = "";

From source file com.phonegap.plugins.opensettings.NativeSettings.java

public class NativeSettings extends CordovaPlugin {

    @Override
    public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException {
        PluginResult.Status status = PluginResult.Status.OK;
        Uri packageUri = Uri.parse("package:" + this.cordova.getActivity().getPackageName());

From source file com.phonegap.plugins.pdf417.Pdf417Scanner.java

public class Pdf417Scanner extends CordovaPlugin {

    private static final int REQUEST_CODE = 1337;

    private static final String SCAN = "scan";
    private static final String CANCELLED = "cancelled";

From source file com.phonegap.plugins.speech.SpeechToText.java

/**
 * Style and such borrowed from the TTS and PhoneListener plugins
 */
public class SpeechToText extends CordovaPlugin {
    private static final String LOG_TAG = SpeechToText.class.getSimpleName();
    private static final String TAG = SpeechToText.class.getSimpleName();

From source file com.phonegap.plugins.speech.XSpeechRecognizer.java

public class XSpeechRecognizer extends CordovaPlugin {

    private static final String TAG = XSpeechRecognizer.class.getSimpleName();
    private static int REQUEST_CODE = 1001;
    public static final String ACTION_INIT = "init";
    public static final String ACTION_SPEECH_RECOGNIZE_START = "start";

From source file com.phonegap.plugins.video.KWVideoPlayer.java

public class KWVideoPlayer 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.phonegap.plugins.videoplayer.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) {