Hi~,I am new to android development & osm & graphhopper.
Now, I want to calculate routes offline , but I don not know how to do.
I have the OSM data like map.osm, and I read the guide in https://github.com/graphhopper/graphhopper/blob/master/docs/android/index.md.
It says :
Download the raw openstreetmap file - you’ll need that for the next step to create the routing data
Execute ./graphhopper.sh import . This creates the routing data
Download a map e.g. berlin.map
Copy berlin.map into the created berlin-gh folder
I use :
GraphHopper tmpHopp = new GraphHopper().forMobile();
But it was wrong.
I don’t understand it.If someone could tell me how to do step by step carefully,thanks a lot~