Add Android turn-by-turn navigation tutorial app - #26
Open
esoekianto wants to merge 2 commits into
Open
Conversation
Kotlin + Jetpack Compose app using Mapbox Navigation SDK v2's drop-in NavigationView, mirroring the ios-navigation tutorial's destination list -> route calculation -> full-screen turn-by-turn guidance flow. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Matches the convention used by the other Android tutorials in this repo: readers create app/src/main/res/values/mapbox_access_token.xml locally (already gitignored repo-wide) instead of going through local.properties + a Gradle resValue. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the source for the
android-navigationtutorial — a Kotlin + Jetpack Compose appusing Mapbox Navigation SDK v2's drop-in
NavigationView, mirroring theios-navigationtutorial's flow: pick a destination from a list → calculate a route → present full-screen,
voice-guided turn-by-turn navigation.
Note: Navigation SDK v3 for Android does not yet ship a drop-in turn-by-turn UI (confirmed
against both Mapbox's v3 migration guide and the actual SDK artifacts), so this tutorial
uses the stable v2
ui-dropin-ndk27package instead, matching the level of integrationeffort the iOS tutorial has with
NavigationViewController.Test plan
./gradlew :app:assembleDebugbuilds cleanlyTo test locally
Reviewers will need their own Mapbox tokens:
Downloads:Readscope) in~/.gradle/gradle.propertiesasMAPBOX_DOWNLOADS_TOKENapp/src/main/res/values/mapbox_access_token.xml