[GraphHopper] App crashed getting response from GraphHopperAPI.rout(request)

Awais Bin Asif 09bicsebasif at seecs.edu.pk
Sat Apr 27 12:12:10 UTC 2013


I am trying to run the code Graphhopper-Android from
https://github.com/graphhopper/graphhopper-android using berlin-gh graph
file available at https://code.google.com/p/graphhopper/downloads/list

First i tried to load the .map file and it successfully loaded. it showed
the brelin's map

Then i took two parts of the code
PrepareGraph()
calcPath()

Prepare graph makes toast "*Finished loading graph. Touch to route*" thats
mean graph loaded successfully. in calcPath() function App crashed at

 GHResponse resp = hopper.route(req);  while getting response.

where hopper is *GraphHopperAPI hopper*;
and for request i hard coded the lat lon from map.

 Now i don't know the implementation of GraphHopperAPI.rout(req) so how can
i figure this out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130427/3dd646e3/attachment-0001.html>


More information about the GraphHopper mailing list