Understanding the walking, jogging, and running signatures using the accelerometer sensor's data

The step counter and step detector sensors are really useful, but they fail to provide advanced information on steps, such as what the type of step was (running, jogging, or walking), and what the duration of each step was. For developing an advanced pedometer app or a health and fitness app, the duration and type of step is valuable information. As a learning exercise, we will develop our own algorithm to detect the type of step and the duration of each step. We will use the accelerometer sensor for our algorithm. The accelerometer sensor is the best sensor that can detect motion and acceleration acting on the phone during the walking process. The ...

Get Android Sensor Programming By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.