List of usage examples for android.hardware SensorEventListener interface-usage
From source file io.v.moments.ux.MainActivity.java
/**
* This app allows the user to take photos and advertise them on the network.
* Other instances of the app will scan for and display such photos.
*
* This app is an example of running, advertising and scanning for multiple
* services.
From source file com.thousandthoughts.tutorials.SensorFusionActivity.java
public class SensorFusionActivity extends Activity implements SensorEventListener { private SensorManager mSensorManager = null; // angular speeds from gyro private float[] gyro = new float[3];
From source file com.thalmic.android.sample.helloworld.HelloWorldActivity.java
public class HelloWorldActivity extends Activity implements SensorEventListener { LowPassFilter filterYaw = new LowPassFilter(0.03f); private TextView mLockStateView; private TextView mTextView;
From source file com.first.akashshrivastava.showernow.ShowerActivity.java
/** * Created by akashshrivastava on 31/07/16. */ public class ShowerActivity extends Activity implements OnDataPointListener, SensorEventListener { private static final String TAG = "ShowerActivity";
From source file com.mummyding.app.leisure.ui.MainActivity.java
public class MainActivity extends AppCompatActivity implements SensorEventListener { private Toolbar toolbar; private Drawer drawer; private AccountHeader header; private FragmentManager fragmentManager = getSupportFragmentManager();
From source file com.example.casthelloworld.MainActivity.java
/** * Main activity to send messages to the receiver. */ public class MainActivity extends AppCompatActivity implements SensorEventListener { private static final String TAG = MainActivity.class.getSimpleName();
From source file cl.ipp.katbag.fragment.Player.java
public class Player extends Fragment implements SensorEventListener { private Tracker tracker; static View v = null; public static MainActivity mainActivity;
From source file ngoc.com.pedometer.ui.Fragment_Overview.java
public class Fragment_Overview extends Fragment implements SensorEventListener { private TextView stepsView, totalView, averageView; private PieModel sliceGoal, sliceCurrent; private PieChart pg;
From source file nl.atcomputing.spacetravelagency.activities.MainActivity.java
public class MainActivity extends SoundSherlockFragmentActivity implements OnClickListener, DestinationsFragmentInterface, DestinationsAdapterListener, TabListener, SensorEventListener, OnScrollableTextViewFragmentListener { private final String BUNDLE_KEY_SELECTEDTAB = "BUNDLE_KEY_SELECTEDTAB"; private final String BUNDLE_KEY_PLANETINFO = "BUNDLE_KEY_PLANETINFO";
From source file de.tudarmstadt.dvs.myhealthassistant.myhealthhub.services.InternalSensorService.java
/**
*
* @author HieuHa
*
* A service that listens to SensorEvent, and sends the received Events
* out (advertises those for any subscription)