List of usage examples for android.hardware SensorEventListener interface-usage
From source file com.mummyding.app.leisure.ui.daily.DailyDetailsActivity.java
public class DailyDetailsActivity extends BaseDetailsActivity implements SensorEventListener { private SensorManager mSensorManager; private boolean isShakeMode = false; private DailyDetailsBean dailyDetailsBean; private String url;
From source file nl.vincentketelaars.mexen.activities.RollDice.java
public abstract class RollDice extends GenericActivity implements SensorEventListener { private Activity activity; private final int rollAnimations = 50; private final int delayTime = 15; private final int[] diceImages = new int[] { R.drawable.d1, R.drawable.d2, R.drawable.d3, R.drawable.d4, R.drawable.d5, R.drawable.d6 };
From source file com.evgenyvyaz.cinaytaren.activity.FaceTrackerActivity.java
/** * Activity for the face tracker app. This app detects faces with the rear facing camera, and draws * overlay graphics to indicate the position, size, and ID of each face. */ public final class FaceTrackerActivity extends AppCompatActivity implements SensorEventListener { private static final String TAG = "FaceTracker";
From source file com.microsoft.band.sdksample.SensorsFragment.java
public class SensorsFragment extends Fragment implements FragmentListener, SensorEventListener { private SensorManager senSensorManager1; private SensorManager senSensorManager2; private Sensor senGyroscope; private Sensor senAccelerometer;
From source file com.sitewhere.android.example.ExampleFragment.java
/** * Fragment that implements example application. * * @author Derek */ public class ExampleFragment extends MapFragment
From source file kn.uni.gis.foxhunt.GameActivity.java
public class GameActivity extends Activity implements SensorEventListener, LocationListener { private static final int FOX_TIMEOUT = 1000 * 60 * 2; private static final int BUFFER_SIZE = 20; private static final int DEFAULT_TIME = 3000;
From source file devbox.com.br.minercompanion.ProfileActivity.java
public class ProfileActivity extends ActionBarActivity implements SensorEventListener { String url = "http://32f35102.ngrok.com/miner_companion/admin_server/requests.php"; final static String TAG = "ProfileActivity";
From source file app.wz.MainActivity.java
public class MainActivity extends Activity implements SensorEventListener { // device sensor manager private SensorManager mSensorManager; PowerManager powerManager; PowerManager.WakeLock wakeLock;
From source file org.loon.framework.android.game.LGameAndroid2DActivity.java
/**
*
* Copyright 2008 - 2010
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
From source file net.line2soft.preambul.controllers.SlippyMapListener.java
/** * This class reacts to events in {@link SlippyMapActivity} * @author quipe A (Projet Rand'OSM) - Stphane COATHALEM, Mathieu LUCAS, Adrien PAVIE, Alexis SCOLAN */ public class SlippyMapListener implements LocationListener, OnClickListener, ViewPager.OnPageChangeListener, SensorEventListener, OnTouchListener {