Book Image

Learning Android Google Maps

Book Image

Learning Android Google Maps

Overview of this book

This book helps you to overcome the most common problems faced by users and helps you create a successful map application without any hassle. The book starts with a brief description of how to set up an environment and obtain an API key to create your map application. This book will teach you about adding markers, overlays, and information windows to the map in detail. You will then dive deep into customizing various types of maps and working with location data and Google Street view. By the end of this book, you will be able to create succinct map applications in Android using Google maps efficiently.
Table of Contents (18 chapters)
Learning Android Google Maps
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Chapter 2. Configuring an API Key and Creating Our First Map Application

In the first chapter, we learned how to set up a development environment to kick-start an app development process. In order to install our Google maps application, we need to register our maps application in the Google Developer Console with our SHA1 fingerprint. This can be obtained by using the Java keytool and it is used in an authentication process. Let's learn about it in detail in this chapter.

In this chapter, we will cover the following topics:

  • Generating the SHA1 fingerprint on Windows, Linux, and Mac OS X

  • Registering our application in the Google Developer Console

  • Configuring Google Play services with our application

  • Adding permissions and defining the API key

  • Creating our first map application

  • Common problems and solutions