The weather utility app's requirements
Today's Android phones come with environment sensors in them. We will be using the same environment sensors to develop a weather utility app as a part of this chapter. Our app will make use of some additional inputs from external web services combined with our environment sensor's data to drive some more meaningful information, such as dew point, absolute humidity, and altitude. We will also compare weather data obtained from environment sensors to weather data obtained from an external web service. The following are high-level requirements for weather utility apps. The source code of this weather utility app can be found in GitHub under the author's account name and on the support page for the book:
- Get the outside temperature using the phone's temperature sensor.
- Get the air pressure using the phone's pressure sensor.
- Calculate the altitude using the phone's pressure sensor.
- Get the relative humidity using the...