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 ...
Get Android Programming: The Big Nerd Ranch Guide 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.