-
-
Save MiraLak/63261abb04f17fc62e5f to your computer and use it in GitHub Desktop.
Android app: Basic accelerometer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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