<div dir="ltr">I have tried your instruction to create graphhopper-0.1-SNAPSHOT-android.jar file. But i am still getting the same errors now i have<div><br><div>graphhopper-0.1-SNAPSHOT-android.jar<br><div> graphhopper-0.1-SNAPSHOT.jar </div>
<div>graphhopper-0.1-SNAPSHOT-jar-with-dependency.jar </div></div></div><div><br></div><div style>in Android Dependencies</div><div style><br></div><div style><br></div><div style><br></div><div style><br></div><div style>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 29, 2013 at 11:30 AM, Peter K <span dir="ltr"><<a href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>AStar can be used like it is described
in the wiki:<br>
<a href="https://github.com/graphhopper/graphhopper/wiki/Low-Level-API" target="_blank">https://github.com/graphhopper/graphhopper/wiki/Low-Level-API</a><br>
Instead of DijkstraSimple use AStar<br>
<br>
But be aware that the normal algorithms will require more RAM than
the contraction hierarchy* optimized ones.<br>
So only mid-sized countries are possible on a mobile platform as
our AStar still is exact and does not e.g. throw away too-far-away
points to reduce memory consumption.<br>
<br>
Regards,<br>
Peter.<br>
<br>
*<br>
<a href="http://lists.openstreetmap.org/pipermail/graphhopper/2013-April/000057.html" target="_blank">http://lists.openstreetmap.org/pipermail/graphhopper/2013-April/000057.html</a><br>
<br>
<br>
<br>
</div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Yes the demo app is working fine. Basically i want
to integrate it in my Android app. I want to develop an Android
app which gives offline navigation. But now i am trying to run
the demo code first. And one more thing i want to ask there is
AStar.java file upload at <a href="https://github.com/graphhopper/graphhopper/blob/master/src/main/java/com/graphhopper/routing/AStar.java" target="_blank">https://github.com/graphhopper/graphhopper/blob/master/src/main/java/com/graphhopper/routing/AStar.java</a>
<div>
<br>
</div>
<div>can i use this algorithm for android app offline
route planning.?????</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sun, Apr 28, 2013 at 1:22 AM, Peter
K <span dir="ltr"><<a href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Please let me know the error and what you changed to
better guide you ...<br>
<br>
<div><br>
</div>
<div>
<div>> Then i took two parts of the code
<br>
<br>
</div>
You tried to integrate it in your own application? Is
the demo app working for you? Try starting from there
and iterate ...<br>
</div>
<div> <br>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div> Now i don't know the implementation of
GraphHopperAPI.rout(req) so how can i figure
this out.</div>
<div><br>
</div>
</div>
</blockquote>
<br>
</div>
But this is in the source code!?<br>
<br>
<br>
Regards,<br>
Peter.<br>
<br>
<br>
<br>
</div>
<div>
<blockquote type="cite">
<div dir="ltr">I am trying to run the code
Graphhopper-Android from <a href="https://github.com/graphhopper/graphhopper-android" target="_blank">https://github.com/graphhopper/graphhopper-android</a> using
berlin-gh graph file available at <a href="https://code.google.com/p/graphhopper/downloads/list" target="_blank">https://code.google.com/p/graphhopper/downloads/list</a>
<div> <br>
</div>
<div>First i tried to load the .map file and
it successfully loaded. it showed the brelin's map</div>
<div><br>
</div>
<div>Then i took two parts of the code </div>
<div>PrepareGraph()</div>
<div>calcPath()</div>
<div><br>
</div>
<div>Prepare graph makes toast "<b>Finished loading
graph. Touch to route</b>" thats mean graph
loaded successfully. in calcPath() function App
crashed at </div>
<div><br>
</div>
<div> GHResponse resp = hopper.route(req); while
getting response.</div>
<div><br>
</div>
<div>where hopper is <b>GraphHopperAPI hopper</b>;</div>
<div>and for request i hard coded the lat lon from
map.</div>
</div>
</blockquote>
<br>
</div>
</div>
<br>
_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
GraphHopper mailing list
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a>
<a href="http://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888"><pre cols="72">--
GraphHopper.com Your way is our destination!</pre>
</font></span></div>
<br>_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br></div>