Chapter 3. The Environmental Sensors – The Weather Utility App

In this chapter, we will learn how to make use of different types of sensors in our weather utility application. We will also look at how the temperature, relative humidity, and pressure sensor values can be extended to get more useful data such as the altitude, dew point, and absolute humidity. We will explore an alternate source for getting the temperature, relative humidity, and pressure values to compensate for the unavailability of any environment sensor on the phone.

The things you will learn in the this chapter are as follows:

  • Understanding the requirements for the weather utility app
  • Understanding environmental sensors (temperature, humidity, and pressure)
  • How to use the temperature ...

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.