Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this chapter, you created the Route Tracker app that enabled users to track their movements and see them displayed as a line on a Google Map. The app used several new features in the manifest file. To access the Google Maps API library you indicated the library’s name in the app’s manifest with a useslibrary element. You removed the Activity’s title bar by changing the Activity’s theme with the attribute android:theme in the activity element. You also specified uses-permission elements to request permission to use various system services required for this app to work correctly.
You used a ToggleButton to maintain an on–off state representing whether the app was currently tracking the user’s route. You handled the ToggleButton’s events by implementing interface CompoundButton.OnCheckedChangeListener.