Académique Documents
Professionnel Documents
Culture Documents
Google Maps
1.1 MapsView
1.2 MapFragment
1.3. Markers
1.4. Changing the GoogleView
1.5. Android emulator and Google Maps
2. Install Google Play services
3. Getting the Google Map key
3.1. Overview
3.2. Creating the SHA-1 for your signature key
3.3. Register with the Google APIs Console
3.4. Create key for your application
4. Tutorial: Google Maps
4.1. Create Project
4.2. Adjust layout file
4.3. Activity
4.4. Run and Test
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:name="com.google.android.gms.maps.MapFragment"/>
API key:
AIzaSyBkHSorbwkcSIfT8ulq7Ks0t
D60Wu-5cAQ
Android apps:
79:C2:19:25:3A:96:7C:49:88:46
:9F:18:14:78:D8:C4:09:B5:74:9
0;com.example.mapdemoproject
Activated on:
Activated by:
gouroju.sunil@gmail.com you
API
key:AIzaSyBkHSorbwkcSIfT8ulq7Ks0tD60Wu5cAQ
now paste this api key in your Manifest file in
<meta-data > Tag android Value element. <metadata
android:name="com.google.android.maps.v2.API_KE
Y"
android:value="AIzaSyBkHSorbwkcSIfT8ulq7Ks0tD
60Wu-5cAQ"/>
paste this api key.