I have written a simple Activity which is a SensorEventListener
for Sensor.TYPE_ACCELEROMETER
.
In my onSensorChanged(SensorEvent event)
i just pick the values in X,Y,Z
format and write them on to a file.
Added to this X,Y,Z
is a label, the label is specific to the activity i am performing.
so its X,Y,Z,label
Like this i obtain my activity profile. Would like to have suggestions on what operations to perform after data collection so as to remove noise and get the best data for an activity.
The main intent of this data collection is to construct a user activity detection application using neural network library (NeuroPh for Android) Link.