Chapter 7. Data not from a user

 

This chapter covers

  • Working with data from the internet
  • Working with data from the device and other apps
  • Working with data from sensors
  • Using heuristics and analysis to infer input

In this chapter, I discuss ways of working with data that isn’t inputted directly by the person using the app. Many developers and companies overlook the opportunity to use this data. But it allows you to make a more intuitive experience and create processes that are faster and more pleasant to use. Common sources of input for your app that don’t come directly from the person using it include the following:

  • Data from the internetIt’s the most common source of data in mobile apps.
  • Data already on the deviceBecause apps often need to work offline, there’s no need to obtain data from a remote source if it already exists on the device.
  • Data from sensors and device hardwareThese sources allow your app to take advantage of some of the benefits of being on a mobile device.
  • Data obtained by watching how people use the app and their deviceThis allows you to tailor your app and to offer the best experience possible.

In this chapter, I also tell you about some of the challenges Rachel had with the app she built and helps maintain. It’s a sports news app containing news and statistics about several popular sports. We’ll look at how she used multiple data sources to improve the app, and the challenges she had with this.

7.1. Data from web-based resources

7.2. Getting data from the device

7.3. Getting data from sensors

7.4. Using heuristics and inferring input

Summary