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 org.skt.runtime.original.CompassListener.java

/**
 * This class listens to the compass sensor and stores the latest heading value.
 */
public class CompassListener extends Plugin implements SensorEventListener {

    public static int STOPPED = 0;

From source file com.kircherelectronics.fusedgyroscopeexplorer.sensor.GyroscopeSensor.java

/**
 * Gyroscope Sensor is a subject in an Observer Pattern for classes that need to
 * be provided with rotation measurements. Gyroscope Sensor implements
 * Sensor.TYPE_GYROSCOPE and provides methods for managing SensorEvents and
 * rotations.
 * 

From source file com.kircherelectronics.fusedgyroscopeexplorer.sensor.MagneticSensor.java

/**
 * Magnetic Sensor is a subject in an Observer Pattern for classes that need to
 * be provided with magnetic field measurements. Magnetic Sensor implements
 * Sensor.TYPE_MAGNETIC and provides methods for managing SensorEvents and
 * rotations.
 * 

From source file csic.ceab.movelab.beepath.SensorGet.java

/**
 * Service for recording Accelerometer data.
 * <p>
 * Dependencies: BeePathBroadcastReceiver.java, FixGet.java.
 * <p>
 * 

From source file com.kircherelectronics.gyroscopeexplorer.activity.filter.Orientation.java

/**
 * An abstract class that provides an interface for classes that deal with
 * gyroscope integration and filters. Takes care of a lot of the boiler plate
 * code.
 * 
 * @author Kaleb

From source file com.mruddy.devdataviewer.SensorFragment.java

public class SensorFragment extends Fragment implements SensorEventListener, LocationListener {
    private TextView accelerometerTextView;
    private TextView gpsTextView;
    private SensorManager sensorManager;
    private LocationManager locationManager;

From source file edu.cens.loci.sensors.AccelerometerHandler.java

public class AccelerometerHandler implements SensorEventListener {

    private static final String TAG = "AccelerometerHandler";

    private PowerManager.WakeLock mCpuLock;

From source file org.wso2.carbon.iot.android.sense.event.streams.speed.SpeedDataReader.java

public class SpeedDataReader extends DataReader implements SensorEventListener {

    SpeedData data;
    private SensorManager mSensorManager;
    private Map<String, SensorData> senseDataStruct = new HashMap<>();
    private Vector<SensorData> sensorVector = new Vector<>();

From source file org.apache.cordova.AccelListener.java

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

From source file it.flaviomascetti.posture.AccuracyTestFragment.java

public class AccuracyTestFragment extends Fragment implements SensorEventListener {

    private SensorManager sensorManager;
    private Sensor accelerometer;

    private final int numberOfDimensions = 3; // default value of Cartesian coordinates dimensions