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 de.cortex_media.phonegap.mediaviewer.MediaViewer.java

public class MediaViewer extends CordovaPlugin {
    private static final String ASSETS = "file:///android_asset/";

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

From source file de.dfki.iui.mmir.plugins.speech.android.AndroidSpeechRecognizer.java

/**
 * Style and such borrowed from the TTS and PhoneListener plugins
 */
public class AndroidSpeechRecognizer extends CordovaPlugin {

    public static final String ACTION_GET_LANGUAGES = "getSupportedLanguages";

From source file de.drl.probetool.soundrecorder.SoundRecorder.java

/**
 * This class provides access to notifications on the device.
 */
public class SoundRecorder extends CordovaPlugin {

    CallbackContext callback = null;

From source file de.fhg.fokus.famium.hbbtv.HbbTV.java

/**
 * HbbTV Cordova Plugin Class.
 */
public class HbbTV extends CordovaPlugin {
    public static final String TAG = "HbbTV";
    private HbbTvManager hbbTvManager;

From source file de.fhg.fokus.famium.presentation.CDVPresentationPlugin.java

/**
 * Entry Class for Presentation API Cordova Plugin. This Plugin implements the W3C Presentation API as described in the final report  {@link http://www.w3.org/2014/secondscreen/presentation-api/20140721/} of the Second Screen Presentation API Community Group.
 */
public class CDVPresentationPlugin extends CordovaPlugin implements DisplayManager.DisplayListener {
    private static final String LOG_TAG = "CDVPresentationPlugin";
    private CallbackContext availableChangeCallbackContext;

From source file de.inhji.cordova.plugin.Telephony.java

public class Telephony extends CordovaPlugin {

    private CallbackContext ctx;
    private static final String TAG = "Telephony";
    public int MobileSignalStrength = 0;

From source file de.killercodemonkey.cordova.emailcomposer.EmailComposer.java

@SuppressWarnings("Convert2Diamond")
public class EmailComposer extends CordovaPlugin {

    // Implementation of the plugin.
    private final EmailComposerImpl impl = new EmailComposerImpl();

From source file de.limexcomputer.cordova.plugin.rotationlock.RotationLock.java

@TargetApi(19)
public class RotationLock extends CordovaPlugin {

    // Refer to http://developer.android.com/reference/android/R.attr.html#screenOrientation

    private static final String UNSPECIFIED = "unspecified";

From source file de.martinreinhardt.cordova.plugins.CertificatesPlugin.java

/**
 * 
 * Certificate Plugin for Cordova
 * 
 * author, Martin Reinhardt on 23.06.14.
 *