Skip to content

Instantly share code, notes, and snippets.

@MiraLak MiraLak/Accelerometer.java Secret
Created May 31, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.