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 github.popeen.dsub.activity.SubsonicActivity.java

public class SubsonicActivity extends AppCompatActivity implements OnItemSelectedListener, SensorEventListener {
    private static final String TAG = SubsonicActivity.class.getSimpleName();
    private static ImageLoader IMAGE_LOADER;
    protected static String theme;
    protected static boolean fullScreen;
    protected static boolean actionbarColored;

From source file org.godotengine.godot.Godot.java

public class Godot extends Activity implements SensorEventListener, IDownloaderClient {

    static final int MAX_SINGLETONS = 64;
    static final int REQUEST_RECORD_AUDIO_PERMISSION = 1;
    static final int REQUEST_CAMERA_PERMISSION = 2;
    private IStub mDownloaderClientStub;

From source file ibme.sleepap.recording.SignalsRecorder.java

public class SignalsRecorder extends SleepApActivity implements SensorEventListener {

    private File orientationFile, accelerationFile, actigraphyFile, audioProcessedFile, audioRawFile,
            bodyPositionFile, ppgFile, spo2File;
    private Position position = Position.Supine;
    int oldPositionValue = Constants.CODE_POSITION_SUPINE;

From source file org.deviceconnect.android.deviceplugin.host.HostDeviceService.java

/**
 * Host Device Service.
 * 
 * @author NTT DOCOMO, INC.
 */
public class HostDeviceService extends DConnectMessageService implements SensorEventListener {

From source file mp.teardrop.PlaybackService.java

/**
 * Handles music playback and pretty much all the other work.
 */
public final class PlaybackService extends Service
        implements Handler.Callback, MediaPlayer.OnCompletionListener, MediaPlayer.OnErrorListener,
        MediaPlayer.OnPreparedListener, SharedPreferences.OnSharedPreferenceChangeListener, SongTimeline.Callback,

From source file com.davidmascharka.lips.TrackerActivity.java

/**
 * @author David Mascharka (david.mascharka@drake.edu)
 * 
 * Tracking side of the application. This is what would be implemented as part of an
 * enterprise-scale application that actually wanted to perform live localization.
 * 

From source file com.dragon4.owo.ar_trace.ARCore.MixView.java

public class MixView extends FragmentActivity implements SensorEventListener, LocationListener, OnTouchListener {

    private Sensor orientationSensor;
    private SensorManager sensorMgr_ori;

    public static double gpsLat = 0;//gps?   

From source file org.mozilla.gecko.GeckoApp.java

abstract public class GeckoApp extends Activity
        implements GeckoEventListener, SensorEventListener, LocationListener {
    private static final String LOGTAG = "GeckoApp";

    public static enum StartupMode {
        NORMAL, NEW_VERSION, NEW_PROFILE

From source file com.vonglasow.michael.satstat.MainActivity.java

public class MainActivity extends FragmentActivity implements ActionBar.TabListener, GpsStatus.Listener,
        LocationListener, OnSharedPreferenceChangeListener, SensorEventListener, ViewPager.OnPageChangeListener {

    public static double EARTH_CIRCUMFERENCE = 40000000; // meters

    /*

From source file com.example.sensingapp.SensingApp.java

@SuppressLint("NewApi")
public class SensingApp extends Activity implements SensorEventListener {
    private static final String TAG = "SensingApp";
    private static final int WIFI_COUNT = 20; // How many Wifi SSID to record from the scanned list (originally 10)

    private String[] m_arrsWiFiScanSpeed = { "Fast", "Normal", "Slow" };