| Forum | GitHub | Maps | Blog

Example apk navigation


Ghraphhopper has a SDK navigation to integrate with applications.
So, I downoaded the sample code following this tutorial instructions

In this tutorial says that you change [YOUR_KEY] (in developer-config.xml) and junst replace by your graphopper key. So I login in my account an in the API keys, just copy one key and put in the code.

When starts the application, the map show nothing (just a white screen). When I debug code the onMapReady event not fire.
I’ve made more test, for example if put this addrees (that stay in developer-config.xml) in my browser:<> just answered: Unauthorized: Invalid key. Please contact us and retrieve a valid key.

What’s the correct graphopper key? just the API key section on my profile?


Ah, good question. We have to make clear that there are two different API keys: one for the routing (gh_key) and one for your vector tiles (like maptiler, mapilion, thunderforest, …) which you have to replace 3 times. Have fixed this and also updated the tutorial.


Thanks for your reply.
Mapilion require to pay to make a test, so i try with maptiler API.

To use maptiles instead of mapilion, just register in maptiles and:
in this key just put this url:

and in this keys:




You don’t need to pay for mapilion, there is no automatic signup yet. Just send them an email and you will receive a free API key to test mapilion and to develop your app.