Navigation SDK for Android code samples Stay organized with collections Save and categorize content based on your preferences.
AI-generated Key Takeaways
The Navigation SDK for Android provides sample apps on GitHub that demonstrate the use of the SDK, allowing developers to import, build, and explore the code.
The repository features two key samples: "Map-sample" focusing on MapView and NavView UI, and "Navigation-sample" showcasing the core navigation experience.
A dedicated Codelab offers a step-by-step guide to build a simple Android app using the Navigation SDK with Kotlin, aiding developers in practical implementation.
The Navigation SDK for Androidsamples repository onGitHub includes sample apps that demonstrate the use of the SDK. You can import andbuild the apps, add your API key, view the demo, and use the sample codesupplied as a starting point for your app. The repository contains two sampleapps:
- Map-sample, a showcase of the MapView and NavView UI:
android-navigation-samples/map-sample/ - Navigation-sample, The fundamental navigation experience:
android-navigation-samples /navigation-sample/
For more information about running the sample apps, seeTry thedemo.
Navigation SDK for Android Codelab
To learn how to use the Navigation SDK by building a simple Android app, see theNavigation SDK for AndroidCodelab.The Codelab provides a step-by-step guide for implementing the SDK using Kotlin.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-21 UTC.