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 net.texh.cordovapluginstepcounter.StepCounterService.java

public class StepCounterService extends Service implements SensorEventListener {

    private final String TAG = "StepCounterService";
    private IBinder mBinder = null;
    private static boolean isRunning = false;

From source file at.amartinz.hardware.sensors.BaseSensor.java

public abstract class BaseSensor extends FrameLayout implements SensorEventListener {
    private SensorManager mSensorManager;
    private LayoutInflater mInflater;

    private CardView mCardView;
    private ImageView mIcon;

From source file de.sixtyfourktec.mirrorhub.Main.java

public class Main extends Activity
        implements ActivityCompat.OnRequestPermissionsResultCallback, SensorEventListener {

    private static final String TAG = "MirrorHub";

    private static final int PERMISSIONS_REQUEST_READ_CALENDAR = 1;

From source file pubsub.io.android.example.Pubsub_exampleActivity.java

/**
 * Example pubsub.io - Android client.
 * 
 * @author Andreas Goransson
 * 
 */

From source file com.cubic9.android.droidglove.Main.java

/**
 * Main class of DroidGlove.
 *
 * DroidGlove is an Android app for controlling the motion of hand
 * in virtual reality world which is provided by the software such as Unity.
 * 

From source file com.javadog.cgeowear.cgeoWear.java

public class cgeoWear extends Activity implements GoogleApiClient.ConnectionCallbacks,
        GoogleApiClient.OnConnectionFailedListener, SensorEventListener {
    public static final String DEBUG_TAG = "com.javadog.cgeowear";

    private static final long DIRECTION_UPDATE_SPEED = 2000;

From source file com.adstrosoftware.notificationcompass.CompassService.java

public class CompassService extends Service implements SensorEventListener {
    private static final int NOTIFICATION_ID = 1337;
    private static final String TAG = "CompassService";
    private static final int NORTH = 0;
    private static final int NORTH_EAST = 45;
    private static final int NORTH_WEST = -45;

From source file com.flat20.fingerplay.FingerPlayActivity.java

public class FingerPlayActivity extends InteractiveActivity implements SensorEventListener {

    private SettingsModel mSettingsModel;

    private MidiControllerManager mMidiControllerManager;

From source file com.samebits.beacon.locator.ui.view.RadarScanView.java

public class RadarScanView extends View implements SensorEventListener {
    private final static int RADAR_RADIS_VISION_METERS = 15;
    private static String mMetricDisplayFormat = "%.0fm";
    private static String mEnglishDisplayFormat = "%.0fft";
    private static float METER_PER_FEET = 0.3048f;
    private static float FEET_PER_METER = 3.28084f;

From source file com.example.jony.myapp.reader_APP.ui.DailyDetailsActivity.java

public class DailyDetailsActivity extends BaseDetailsActivity implements SensorEventListener {

    private SensorManager mSensorManager;
    private boolean isShakeMode = false;
    private DailyDetailsBean dailyDetailsBean;
    private String url;