The Navigation SDK for Android samples repository on GitHub includes sample apps that demonstrate the use of the SDK. You can import and build the apps, add your API key, view the demo, and use the sample code supplied as a starting point for your app. The repository contains two sample apps:
- 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, see Try the demo.
Navigation SDK for Android Codelab
To learn how to use the Navigation SDK by building a simple Android app, see the Navigation SDK for Android Codelab. The Codelab provides a step-by-step guide for implementing the SDK using Kotlin.