Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time
November 15, 2018 12:28
August 31, 2018 12:16
August 31, 2018 12:16
February 8, 2021 18:13
August 31, 2018 12:16
August 31, 2018 12:16
August 31, 2018 12:16
August 31, 2018 12:16

GraphHopper Navigation Sample

This Android example application showcases navigation based on instructions returned from the GraphHopper Navigation component.


Download from Google Play.



  • Turn-by-turn navigation including spoken turn instruction
  • Route planning (from A to B via intermediate points)
  • Load route optimization solutions from the GraphHopper Route Optimization API
  • Load routes planned on GraphHopper Maps
  • Search for places using the GraphHopper Geocoding API
  • 100% open source
  • no dependency to Mapbox i.e. no Mapbox contract required. The Mapbox key can be a random string.

Getting Started

Building your own turn-by-turn navigation app based on GraphHopper is easy. Just sign up for the GraphHopper Directions API.

GraphHopper does not provide map tiles. The navigation sdk is compatible with MVT vector tiles and raster tiles. There are several map providers, including:

Note: while it's possible to use raster tiles, we recommend vector tiles for mobile applications.

Enter your GraphHopper API key and map style url in the developer config: app/src/main/res/values/developer-config.xml

You can fork this project and adapt it to your needs, or use it as orientation when developing your own application.


This project stands under the Apache License.

It is a fork of the Mapbox Sample App, which is licensed under the MIT license.

Updating the developer-config file

git update-index --assume-unchanged app/src/main/res/values/developer-config.xml
git update-index --no-assume-unchanged app/src/main/res/values/developer-config.xml