Android Open Source - GlassSensorTest Linear Acceleration






From Project

Back to project page GlassSensorTest.

License

The source code is released under:

Apache License

If you think the Android project GlassSensorTest listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.prt.sensor;
//from   w  w w .j a  va2  s .co m
public interface LinearAcceleration {
  public SensorData getSensorData();
  public void register();
  public void unregister();
  
  public class SensorData {
    public final float x, y, z;
    public final long timestamp;
    public SensorData(long timestamp, float x, float y, float z) {
      super();
      this.x = x;
      this.y = y;
      this.z = z;
      this.timestamp = timestamp;
    }    
  }
}




Java Source Code List

com.prt.sensor.InputHandler.java
com.prt.sensor.LinearAcceleration.java
com.prt.sensor.MyGestureListener.java
com.prt.sensor.TestSensor.java
com.prt.sensor.android.AndroidLauncher.java
com.prt.sensor.android.AndroidLinearAcceleration.java
com.prt.sensor.desktop.DesktopLauncher.java