The pedometer app's requirements
We will be working on three incremental examples as learning assignments for this chapter. In the first example, we will be using the step counter sensor to show the number of steps taken since the phone was powered on in the activity. In our second example, we will go a little deeper and will discuss how to use the step detector sensor to store the steps information in the SQLite database from the service, and finally we will show the steps history along with the dates of using the activity. Our third example will be an evolved pedometer application that will use the sensor fusion between the step detector and accelerometer sensors to derive advanced functionality of the app. This evolved pedometer application will be highly battery optimized and will automatically track the physical activity (walking, jogging, and fast running) happening in the background. The following is a list of the high level requirements of this pedometer application:
- Create a pedometer...