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.worklight.ibmmobilefirstplatformfoundationliveupdate.LiveUpdatePlugin.java

/**
 * Cordova plugin implementation: read the action and parse the json parameters
 * depending on the json content the plugin will call the Live Update adapter
 * by using the Live Update native SDK.
 * @owner Mordechai Taitelman
 */

From source file com.wowtv.ImageResizePlugin.java

public class ImageResizePlugin extends CordovaPlugin {
    public static final String RETURN_BASE64 = "returnBase64";
    public static final String FORMAT_JPG = "jpg";
    public static final String FORMAT_PNG = "png";
    public static final String DEFAULT_FORMAT = "jpg";

From source file com.wx.iseeweather.GetPressurePlugin.GetPressure.java

public class GetPressure extends CordovaPlugin implements SensorEventListener {

    /*
       -The idea is to take an odd number of readings, store them into an array, 
       sort the array, and then take the middle of the array. 
       -This is the median result so that an initial 'bad' reading doesn't cause any issues.

From source file com.xmartlabs.cordova.market.Market.java

/**
 * Interact with Google Play.
 *
 * @author Miguel Revetria <miguel@xmartlabs.com>
 * @license Apache 2.0
 */

From source file com.xtensive.plugins.pdfviewer.PDFViewer.java

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

    protected static final String LOG_TAG = "MuPDFViewer";
    private static String FILE_PREFIX = "file://";
    private static String ASSET = "android_asset";

From source file com.xuehexi.plugin.BaiduTts.java

public class BaiduTts extends CordovaPlugin implements SpeechSynthesizerListener {

    private SpeechSynthesizer mSpeechSynthesizer;
    private String mSampleDirPath;
    private static final String SAMPLE_DIR_NAME = "baiduTTS";
    private static final String SPEECH_FEMALE_MODEL_NAME = "bd_etts_speech_female.dat";

From source file com.yohpapa.research.simplemusicplayer.plugins.ListManager.java

public class ListManager extends CordovaPlugin {

    /**
     * @see CordovaPlugin
     * @param action
     * @param args

From source file com.yzhxch.cordova.open.FileOpenerUtil.java

public class FileOpenerUtil extends CordovaPlugin {

    /**
     * Executes the request and returns a boolean.
     * 
     * @param action

From source file cordova.plugin.networking.bluetooth.NetworkingBluetooth.java

public class NetworkingBluetooth extends CordovaPlugin {
    public static final String TAG = "CordovaNetworkingBluetooth";
    public static final String SERVICE_NAME = "CordovaNetworkingBluetooth";
    public static final int REQUEST_ENABLE_BT = 1773;
    public static final int REQUEST_DISCOVERABLE_BT = 1885;
    public static final int START_DISCOVERY_REQ_CODE = 1997;

From source file cordova.plugin.RequestLocationAccuracy.java

public class RequestLocationAccuracy extends CordovaPlugin implements GoogleApiClient.ConnectionCallbacks,
        GoogleApiClient.OnConnectionFailedListener, ResultCallback<LocationSettingsResult> {
    public static final String TAG = "RequestLocationAccuracy";

    /**
     * Provides the entry point to Google Play services.