Een need a class (.h and .m files) for counting steps with the device accelerometer. The result should be the amount of steps starting by pushing a button.
- The algorithm needs to work without training.
- The sampling period of the accelerometer should be adjustable through code. I want to test the battery power in conjuction with the sampling rate of the accelerometers.
A plus is when the class can improve the result with optional GPS data.
Another plus is when the steps of one minute are stored in a database including the time.
To test the class I will use it in the sample code app of Apple: AccelerometerGraph
a final plus would be an method that awakes the app from back ground when shaked...