[GraphHopper] App crashed getting response from GraphHopperAPI.rout(request)
Peter K
peathal at yahoo.de
Fri May 3 06:26:06 UTC 2013
> Thank you for your reply. I have already tried demo app
> (GraphHopper-0.1.apk
> <https://code.google.com/p/graphhopper/downloads/detail?name=GraphHopper-0.1.apk&can=2&q=>)
> with berlin-gh and it works fine for me. I am using eclipse on windows
> 8. I want to integrate graphhopper's demo project code into my own
> android app. My app currently gives offline routing according to local
> transportation (Buses) available in city. i am using mapsforge api.
> Now I want to integrate functionality of graphhopper demo project in
> to my app such that I give start and end coordinates to it and it give
> shortest route between them.
>
> I have created pakistan-gh files using pakistan-latest.osm files by
> using run.sh command. Then i tried to run it with GraphHopper-0.1.apk
> <https://code.google.com/p/graphhopper/downloads/detail?name=GraphHopper-0.1.apk&can=2&q=> but
> it gives error that "error while creating graph : could not load graph
> at storage /path/to/mapfolder". But i loads pakistan.map sucess fully.
The routing files are of a newer version not compatible with
GraphHopper-0.1.apk
<https://code.google.com/p/graphhopper/downloads/detail?name=GraphHopper-0.1.apk&can=2&q=>
> Now i am trying to run the demo project code with berlin-gh files on
> eclipse with windows 8 because pakistan-gh is not working properly on
> demo app. 1st if code works with berlin-gh then i will switch to my
> own pakistan-gh files. And the errors i got is explained in
> previous mails.
You need to correct the android dependencies. What do you currently have
loaded in Eclipse? graphhopper-android, mapsforge and slf4j-android?
Peter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130503/f6758ebb/attachment-0001.html>
More information about the GraphHopper
mailing list