<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">AStar can be used like it is described
      in the wiki:<br>
      <a class="moz-txt-link-freetext" href="https://github.com/graphhopper/graphhopper/wiki/Low-Level-API">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 class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/pipermail/graphhopper/2013-April/000057.html">http://lists.openstreetmap.org/pipermail/graphhopper/2013-April/000057.html</a><br>
      <br>
      <br>
      <br>
    </div>
    <blockquote
cite="mid:CAOo7f_e8JDNdstH20BKZN9yU2hZc=cpJT_JMD=bdEsJ81qbptA@mail.gmail.com"
      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 moz-do-not-send="true"
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 moz-do-not-send="true"
              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 moz-do-not-send="true"
                      href="https://github.com/graphhopper/graphhopper-android"
                      target="_blank">https://github.com/graphhopper/graphhopper-android</a> using

                    berlin-gh graph file available at <a
                      moz-do-not-send="true"
                      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 moz-do-not-send="true"
              href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.openstreetmap.org/listinfo/graphhopper"
              target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/graphhopper">http://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
GraphHopper.com Your way is our destination!</pre>
  </body>
</html>