Summary

We looked at the sensor initialization cycle, important callbacks, and common ways of using the sensors in an activity and a background service. It is advisable to look at the sensors' properties and capabilities before writing a universal logic that will work with all types of sensor on different devices. We also learned about the sensor processing in the background and developed our first sensor algorithm.

In the next chapter, we will extend our understanding by developing a real-world application with the use of different types of sensor. We will also take a closer look at how we can use the sensor values to derive some more useful data.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset