For more information about obtaining a release certificate, see Get an API Key.Īndroid Studio includes a Google Maps Activity template, which generates helpful template code. Published Android apps that use the Maps SDK for Android require a second API key: the key for the release certificate. The debug certificate is insecure by design, as described in Sign your debug build. In this codelab, you use the API key for the debug certificate. For more information about using digital certificates and signing your app, see Sign your app. The API key is tied to a digital certificate that links the app to its author. To obtain the API key, register your project in the API & Services page. The Maps SDK for Android requires an API key. Task: Set up the project and get an API Key The Wander app allows you to drop markers onto locations, add overlays, and see your location in real time.ģ. In this codelab, you create the Wander app, which displays a Google map with custom styling. How to enable location tracking in your app.How to create custom features for your app, such as markers and styling.How to create The Wander app, which has an embedded Google Map.How to enable the user to place a marker on a point of interest (POI).How to integrate a Google Map in your app.How to get an API key from the Google API Console and register the key to your app.How to refactor code and rename variables using Android Studio.How to create and manage resources, such as strings.How to create a basic Android app and run it using Android Studio.In this lesson, you create a Google Maps app called Wander that displays customized maps and shows the user's location. You can also create games in which the player explores the physical world, like in a treasure hunt or even augmented reality games. You can add value to the standard Google Maps by showing information from your own dataset, such as the locations of well-known fishing or climbing areas. We recommend that you do all the codelabs in order, because they progress through tasks step-by-step.īuilding apps with Google Maps allows you to add features to your app, such as satellite imagery, robust UI controls for maps, location tracking, and location markers. This codelab is part of a series that guides you through adding maps to your apps. Note: For updated content on maps, please visit Add a map to your Android app. If you are looking for content on Views, you can check out the Android Basics in Kotlin course. Instead, please refer to the Android Basics with Compose or Jetpack Compose for Android Developers courses for the latest recommended practices. Caution: This codelab is out of date and no longer maintained.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |