Example usage for android.hardware SensorEventListener interface-usage

List of usage examples for android.hardware SensorEventListener interface-usage

Introduction

In this page you can find the example usage for android.hardware SensorEventListener interface-usage.

Usage

From source file com.phonegap.AccelListener.java

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

From source file com.androtux.MainActivity.java

public class MainActivity extends FragmentActivity implements SensorEventListener {
    private static boolean _axis;
    private float _maxRange, _multiplier;

    private SensorManager _sManager;

From source file org.apache.cordova.pedometer.PedoListener.java

/**
 * This class listens to the pedometer sensor
 */
public class PedoListener extends CordovaPlugin implements SensorEventListener {

    public static int STOPPED = 0;

From source file com.commonsware.android.sensor.monitor.SensorLogFragment.java

public class SensorLogFragment extends ListFragment implements SensorEventListener {
    private SensorLogAdapter adapter = null;
    private boolean isXYZ = false;

    @Override
    public void onViewCreated(View view, Bundle state) {

From source file eu.intermodalics.tango_ros_streamer.ImuNode.java

/**
 *
 */
public class ImuNode extends AbstractNodeMain implements NodeMain, SensorEventListener {
    private static final String NODE_NAME = "android";

From source file com.android.plugins.MagnetometerListener.java

/**
 * This class listens to the magnetometer sensor and stores the latest
 * speed value.
 */
public class MagnetometerListener extends CordovaPlugin implements SensorEventListener {

From source file org.dartlang.phonegap.barometer.BarometerListener.java

/**
 * This class listens to the barometer sensor and stores the latest
 * pressure value.
 */
public class BarometerListener extends CordovaPlugin implements SensorEventListener {

From source file org.dartlang.phonegap.thermometer.ThermometerListener.java

/**
 * This class listens to the thermometer sensor and stores the latest
 * temperature value.
 */
public class ThermometerListener extends CordovaPlugin implements SensorEventListener {

From source file com.android.plugins.GyroscopeListener.java

/**
 * This class listens to the gyroscope sensor and stores the latest
 * speed value.
 */
public class GyroscopeListener extends CordovaPlugin implements SensorEventListener {

From source file org.dartlang.phonegap.gyroscope.GyroscopeListener.java

/**
 * This class listens to the gyroscope sensor and stores the latest
 * speed value.
 */
public class GyroscopeListener extends CordovaPlugin implements SensorEventListener {