Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Android Google Maps
  • Table Of Contents Toc
Learning Android Google Maps

Learning Android Google Maps

5 (2)
close
close
Learning Android Google Maps

Learning Android Google Maps

5 (2)

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 (13 chapters)
close
close
12
Index

Defining Intent requests


Before defining Intent requests, let's learn some basics about Intents. Intents help us launch an activity of our own application or another application. Google Maps provides several Intents that can be used with our application. Four operations can be performed using Google Maps. They are as follows:

  • Display a map in Google Maps of a specified location with a specified zoom level

  • Search for a specified location and display it on Google Maps

  • Display turn-by-turn navigation using one of the three modes: driving, walking, and bicycling

  • Display the Street View imagery

To make an Intent request, we must initially define an Intent object. The Intent should contain three components. They are:

  • Action

  • URI

  • Package

Let's discuss this in detail.

Action

It defines what action should be performed. Here, we use an action to view the data. It is given as: ACTION_VIEW.

The action is usually set in Intent as:

Intent intent = new Intent(Intent.ACTION_VIEW, intentUri);

URI

URIs are used to specify...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Android Google Maps
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon