The Google Maps mini app
Create a new project and call it Simple Map. As we will be using a fairly new API, on the Target Android Devices screen, select API 19 Android 4.4(KitKat) in the Minimum SDK field. Also, on the Add an Activity to mobile screen, select the Google Maps Activity option. We will see that this will save us some work as well as provide us with some helpful information to get our app up and running with less complexity.
Note
Of course, you will also need a device with Android 4.4 or a later version to run this mini app. Furthermore, this app won't run on an emulator.
There are a couple of ways to use Google Maps. We can use an Intent to open the Google Maps app a bit like we did with the camera app, or we can connect directly to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access