Skip to content

Instantly share code, notes, and snippets.

@MiraLak
Created May 31, 2015 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MiraLak/63261abb04f17fc62e5f to your computer and use it in GitHub Desktop.
Save MiraLak/63261abb04f17fc62e5f to your computer and use it in GitHub Desktop.
Android app: Basic accelerometer
public class Acceleration {
private long timestamp;
private double x;
private double y;
private double z;
public Acceleration(float x_value, float y_value, float z_value, long timestamp) {
//...
}
//...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment