<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">https://github.com/graphhopper/graphhopper/blob/master/src/main/java/com/graphhopper/routing/AStar.java</a><div>
<br></div><div style>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 class="im">> 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 class="im">
      <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 class="im">
    <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">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>