Android Studio Template Of Google Maps Activeness

Posted on

This video demonstrate how to exercise Android App alongside Maps using Android Studio template of Google Maps Activity.


– You bring to generate Google Maps API fundamental alongside the prepared link in values/google_maps_api.xml, supervene upon the string of “google_maps_key”, holler to the video.
– This fundamental is generated using debug.keystore, if you lot desire to generate liberate APK, you lot bring to generate some other fundamental using release keystore.
– The fundamental demonstrate inwards the video is generated using the debug.keystore inwards my evolution PC, it volition non operate on your PC. You bring to geneerate yourself.

The fundamental volition travel refered inwards AndroidManifest.xml, within <meta-data> of “com.google.android.geo.API_KEY”.

Also include <uses-permission> of “android.permission.ACCESS_FINE_LOCATION”.

Check the file build.gradle, dependencies of compile ‘com.google.android.gms:play-services:8.1.0’ is added for you.

com.google.android.gms.maps.SupportMapFragment” is used to display map on your app.  It’s a wrapper to a greater extent than or less a persuasion of a map to automatically grip the necessary life cycle needs.



Step-by-step of Android Google Maps Activity using Google Maps Android API v2, on Android Studio:
– Display “Legal Notices” for Google Maps Android API v2 on Options Menu
– Set map type for Google Maps Activity using Google Maps Android API v2
– Add Marker to Google Map (Google Maps Android API v2)
Initialize map inwards xml
– Detect acquit on GoogleMap, onMapClick() together with onMapLongClick()
– Make GoogleMap’s marking draggabe together with let on moving marker
– Custom InfoWindow
– Detect user click on InfoWindow, yesteryear implementing GoogleMap.OnInfoWindowClickListener()
– Display StreetViewPanoramaView inwards DialogFragment, when user click on InfoWindow
– to travel continue…