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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.