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.kircherelectronics.gyroscopeexplorer.activity.GyroscopeActivity.java

/**
 * The main activity displays the orientation estimated by the sensor(s) and
 * provides an interface for the user to modify settings, reset or view help.
 *
 * @author Kaleb
 */

From source file com.example.appf.CS3570.java

public class CS3570 extends Activity implements SensorEventListener {
    float[] mGravity;
    Float azimut;
    Float pitch;
    Float roll;
    boolean cam;

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

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

    private static final String INTENT_INIT = "cgeo.geocaching.wear.NAVIGATE_TO";
    private static final String INTENT_STOP = "com.javadog.cgeowear.STOP_APP";

From source file com.javierarias.magnadroid.Magnadroid.java

/**
 * TODO: Custom limits for sensibility references
 * TODO: Check which Fragment class is present and send data or experiment with EventBus StickyPost *
 */

public class Magnadroid extends AppCompatActivity implements SensorEventListener {

From source file edu.cmu.sv.trailscribe.view.MapsActivity.java

public class MapsActivity extends BaseActivity
        implements OnClickListener, SensorEventListener, OnNavigationListener {

    public static ActivityTheme ACTIVITY_THEME = new ActivityTheme("Maps", "Display map and layers", R.color.green);
    public static String MSG_TAG = "MapsActivity";

From source file com.pseudosurface.levels.template.SimulatorActivity.java

public abstract class SimulatorActivity extends FragmentActivity implements SensorEventListener {

    public GLSurfaceView mGLView;

    public float zoom = 24.5f;
    public float minZoom = 10;

From source file com.shimi.camera.must.stand.straight.MainActivity.java

/**
 * This demo app saves the taken picture to a constant file.
 * $ adb pull /sdcard/Android/data/com.google.android.cameraview.demo/files/Pictures/picture.jpg
 */
public class MainActivity extends AppCompatActivity implements SensorEventListener,
        ActivityCompat.OnRequestPermissionsResultCallback, AspectRatioFragment.Listener {

From source file com.tritop.androsense2.fragments.GpsFragment.java

public class GpsFragment extends Fragment
        implements LocationListener, Listener, SensorEventListener, OnClickListener {

    public static final String SENSORTYPE = "GPS";
    public static final String SAT_PNR_KEY = "PNR";
    public static final String SAT_FIX_KEY = "FIX";

From source file tw.example.robert.myapplication.bluetoothchat.BluetoothChatFragment.java

/**
 * This fragment controls Bluetooth to communicate with other devices.
 */
public class BluetoothChatFragment extends Fragment implements Serializable, SensorEventListener {

    private static final String TAG = "BluetoothChatFragment";

From source file org.cocos2dx.lib.Cocos2dxAccelerometer.java

/**
 * 
 * This class is used for controlling the Accelerometer
 *
 */
public class Cocos2dxAccelerometer implements SensorEventListener {