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

Self-test questions


Q1. What tool can we use to generate the SHA1 fingerprint?

  1. Gradle

  2. Keytool

Q2. In which Gradle build script file can we add dependencies for Google Play services?

  1. build.gradle

  2. settings.gradle

Q3. What permission can we use to get network information?

  1. INTERNET

  2. ACCESS_NETWORK_STATE

Q4. Which object is used to access the Google Maps API?

  1. Fragment

  2. MapFragment

  3. GoogleMap

Q5. Which fragment can we use to access Google Maps in lower API devices?

  1. MapFragment

  2. SupportMapFragment

Q6. Which function is used to handle the callback in our Google Maps application?

  1. onMapReady()

  2. onMapReadyCallback