Summary

We learned a lot of new concepts in this chapter, such as the step detector and step counter sensors. We learned how to develop the algorithm for detecting the types of steps (walking, jogging, fast running) using the accelerometer sensor data. We also looked at the infrastructure (service, threads, and database) required to process the sensor data in the background for a longer duration of time. This knowledge of the required infrastructure (service, threads, and database) will play an important role in developing efficient sensor-based applications.

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.