To use maps in your app, you have to give the app permission to use certain device features. These permissions are used to alert the user during installation or upgrade what the app is allowed to access on the device. The user permits that app to use those devices, services, or data by choosing to install the app after reviewing the permissions. Permissions are set in the Android manifest file. If a permission is required by what you are trying to do but is not in the manifest, the app will crash.
Open the AndroidManifest.xml file and enter the permissions in Listing 7.1. Put these permissions after the version number and before the