Android Studio: Add Map to Fragment

Опубликовано: 22 Октябрь 2024
на канале: Victor Wooding
80,268
711

In this tutorial I show you how to add a google map with a marker to a fragment. You will need a google account to login to the developer console and a copy of android studio. I found that adding a map to an activity is easy but this is not the case when working with fragments.

If you want to follow the tutorial you can use my github tabbed master file
Github tabbed application master:

https://github.com/skooltch84/TabbedA...

Command to get the SHA-1 fingerprint:

keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android

This is a unique fingerprint and you should not share this with anyone!