Basic Google Maps API Android Tutorial + Google Maps Directions API

Hiep Mai Thanh · 301K views · 2016 · 27:12

Open on YouTube

Web developmentSoftware (other)tutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when asking or answering how to draw routes and polylines between two places on a Google Map in an Android app.

Recommended by 1 people across 1 different months, 2016 to 2019.

What it is

A 27-minute screencast building a simple Android app with the Google Maps API. It covers camera zoom, map types, custom markers and polylines, then calls the Google Maps Directions API to find and draw a route between two typed addresses. It is made by two university students and the code is on GitHub.

What people said

Recommends Aswin P Ashok · 2017-09 · Stack Overflow · on “Take Coordinates from json and search on Google map (Android)”

Not sure if this is an answer, but check this out. [this video] Its a tutorial to find road and add polylines on road. I tried and I can assure you it is working. If you want to know how it works (demo), check out this part of video [this video] . It have English subtitles

Cites Mr.Rebot · 2016-06 · Stack Overflow · on “Can an app have 2 or more google API keys?”

It is possible, because you need an Android API key for loading a map on your activity and Server Key for Getting the Direction between two points. google_maps_api.xml <resources> <!-- TODO: Before you run your application, you need a Google Maps API key. To get one, follow this link, follow the directions and press "Create" at the end: [LINK] You can also add your credentials to an existing key, using this line: FA:7B:BC:CE:B9:9E:4C:81:3D:91:35:B7:60:5E:9A:AA:B8:A5:B6:66;com.itshareplus.googlemapdemo Alternatively, follow the directions here: [LINK] Once you have your key (it starts with "AIza"), replace the "google_maps_key" string in this file. --> <string name="google_maps_key" templateM

Cites Pushkar Shirahatti · 2019-01 · Stack Overflow · on “Return coordinates that make up Google Maps path.”

I was working on a project in Android Studio(using Java) and used this tutorial to embed Google Maps into my app: [this video] This tutorial enables me to type in a location and destination and find a route between the two. For the purposes of my project, I want to have a list of the coordinates that make up the path; "every" point that the car would travel through. I am fairly new to coding--if there is missing information please feel free to ask me another question. Thank You.