33Tracking the Device’s Location
In this chapter, you will create a new application called RunTracker. RunTracker works with a device’s GPS to record and display the user’s travels. Those travels may be a walk in the woods at Big Nerd Ranch Bootcamp, a car ride, or an ocean voyage. RunTracker is designed to keep a record of them all.
The first version of RunTracker will simply get location updates from the GPS and display the device’s current location on screen. Eventually, RunTracker will show a map that follows the user in real time.
Getting Started with RunTracker
Create a new Android application with the following configuration:
Figure 33.1 Creating RunTracker
Notice two differences from previous projects. First, you are raising the minimum ...