List of usage examples for org.apache.cordova CordovaPlugin subclass-usage
From source file ch.liquidconcept.cordova.appversion.AppVersion.java
public class AppVersion extends CordovaPlugin { @Override public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException { PluginResult result = new PluginResult(PluginResult.Status.INVALID_ACTION);
From source file ch.mediati.cordova.AdsVP.java
/** * This class echoes a string called from JavaScript. */ public class AdsVP extends CordovaPlugin { @Override
From source file ch.rts.cordova.is.tablet.IsTablet.java
public class IsTablet extends CordovaPlugin { private static final String LOG_TAG = "IsTabletPlugin"; @Override public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException {
From source file cn.com.flashman.cordova.xpush.Baidu.java
public class Baidu extends CordovaPlugin { static private CordovaActivity webview; static private int icon; static public Stack messageQueue = new Stack(); static public int nitify_id = 65535; static private boolean isActive = false;
From source file cn.edu.gdmec.t00385.lightsensor.LightSensorListener.java
/** * This class listens to the compass sensor and stores the latest heading value. */ public class LightSensorListener extends CordovaPlugin implements SensorEventListener { public static int STOPPED = 0;
From source file cn.edu.zju.bme319.cordova.ExtraInfo.java
public class ExtraInfo extends CordovaPlugin { private final static String MY_UUID = "00001101-0000-1000-8000-00805F9B34FB"; // SPP?UUID? public static final String ACTION_DISCOVER_DEVICES="listDevices"; public static final String ACTION_LIST_BOUND_DEVICES="listBoundDevices";
From source file cn.push.cordova.plugin.localnotification.LocalNotification.java
/**
* This plugin utilizes the Android AlarmManager in combination with StatusBar
* notifications. When a local notification is scheduled the alarm manager takes
* care of firing the event. When the event is processed, a notification is put
* in the Android status bar.
*/
From source file co.lingeng.cordova.wechat_pay.WechatPay.java
public class WechatPay extends CordovaPlugin { private static IWXAPI api; private static final String WXAPP_ID = ""; private static final String PARTNER_ID = ""; private static final String APP_KEY = "";
From source file co.mwater.foregroundcameraplugin.ForegroundCameraLauncher.java
/**
* This class launches the camera view, allows the user to take a picture,
* closes the camera view, and returns the captured image. When the camera view
* is closed, the screen displayed before the camera view was shown is
* redisplayed.
*/
From source file co.uk.gauntface.cordova.plugin.gcmbrowserlaunch.GCMBrowserLaunch.java
public class GCMBrowserLaunch extends CordovaPlugin { @Override public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException { GCMController gcmController = new GCMController(this.cordova.getActivity().getApplicationContext());