In this article, I will explain about implementation of Google Maps in Android app.
Before creating a new project in Android we will see the steps to get Google Maps' API Key, which is used in the app to implement the Google Map.
Login into your Gmail account. Google the word “Google map console in Android.”
Open the url.
And click on GET A KEY button.
API Manager page will display with two options: Overview and Credentials. In credentials, enter the Android API Key name, package name and SHA-1 certificate fingerprint.
Now we will get SHA-1 certificate fingerprint because it is important. For this, first go to the Java folder of C: drive
C:\Program Files\Java\jre1.8.0_25\bin
SHA-1 certificate fingerprint will be created.
Enter SHA-1 certificate fingerprint in the "Create Android API Key" option
And API key will be created finally.
Created credentials will look like the following:
Now create a new project in Android Studio. Click File, New, then New Project
Enter GoogleMapExample as application name and create with a blank activity.
Google maps need some permissions and features.
Added some tags related to user permission in Android-Manifest.xml file.
Add a meta-data tag just before activity tag.
Read more articles on Android:
Pro WPF: Windows Presentation Foundation in .NET 3.0