<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Trying GraphHopper with Android Studio
      is still on my todo list but why not use gradle config and just
      add GraphHopper as dependency there? No need to mess around with
      JARs etc<br>
      <br>
      <span style="color:rgb(0,0,0);font-family:Arial,'Liberation
        Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px">>
        by telling me where to save the folder with the map data (on the
        phone or on the SD card and where)?</span><br>
      <span style="color:rgb(0,0,0);font-family:Arial,'Liberation
        Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px">>
        by telling me if and if so where I should store the .map and the
        .pbf file on the phone or in the project?</span><br>
      <br>
      See the Android docs. No need to store the pbf files on the phone.
      And yes you can put the graphhopper files and the map files in the
      apk<br>
      <br>
      Regards,<br>
      Peter<br>
      <br>
      On 05.01.2015 22:45, Nico Nijman wrote:<br>
    </div>
    <blockquote
cite="mid:CAHw0u+zKp15UjFsh=SkYoy4u6HqNrM3Sq2SVF+F=cGZ3vbTvSg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello, 
        <div><br>
        </div>
        <div>Please allow me to introduce myself, I am Nico and I would
          like to create an Android app that displays a map of a small
          town and displays markers that indicate the locations of that
          days activities. If possible I would also like to add
          functionality for finding and displaying the most efficient
          route to each of these activities. Unfortunately I am still
          very unexperienced in all things related to Android
          programming.</div>
        <div><br>
        </div>
        <div>At present I am a long way from that goal, I
          created/downloaded and compiled my map to a folder on my
          computer called "C:\temp\graphhopper-0.3\map_son-gh" it
          contains edges, geometry, locationIndex, names, nodes and
          properties files, so I think this step was successful.</div>
        <div><br>
        </div>
        <div>Now I would like to create an app that, if this map_son-gh
          folder is stored on the phone, will access it and display the
          village. To get started I tried to use the sample code, the
          app builds, but when i try to start it it is immediately
          stopped so apparently there is a fatal error (either code
          missing or the files can not be found or are corrupted).</div>
        <div><br>
        </div>
        <div>I build the app with Android Studio 1.0, with JRE
          1.7.0_71-b14 amd 64 and the matching JDK and in my project I
          included graphhopper-0.3-android.jar,
          mapsforge-code-0.4.3.jar, mapsforge-map-0.4.3.jar,
          mapsforge-map-android-0.4.3.jar and
          mapsforge-map-reader-0.4.3.jar. </div>
        <div>I tried to include "<span
            style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px">trove-3.0.3.jar"
            as I read that was also required, but then the project would
            no longer build because there were multiple instances of
            trove. I assumed this is because trove is nowadays probably
            included in the graphhopper jar.</span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px"><br>
          </span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px">Could
            you kindly help me:</span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px">-
            by telling me if my includes are correct?</span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px">-
            by telling me if the map files are complete?</span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px">-
            by telling me if and if so where I should store the .map and
            the .pbf file on the phone or in the project?</span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px">-
            by telling me where to save the folder with the map data (on
            the phone or on the SD card and where)?</span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px">-
            by telling me how I can debug this fatal error (how to get
            more information then "the app stopped. <ok>")?</span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px">-
            provide me with the most basic sample code possible (just
            open the map and display it, no downloading, no routing,
            nothing that is not required, if possible with the map data
            as resource in the apk instead of somewhere where i can
            misplace it).</span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px"><br>
          </span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px">Thank
            you for your attention and hopefully for your help.</span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px"><br>
          </span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px">Kind
            regards, Nico Nijman</span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px"><br>
          </span></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px">p.s.
            just in case it matters, this is my map area/the village: </span><font
            color="#000000" face="Arial, Liberation Sans, DejaVu Sans,
            sans-serif"><span style="line-height:17.804801940918px"><a
                moz-do-not-send="true"
                href="http://www.openstreetmap.org/export#map=15/51.5126/5.4882">http://www.openstreetmap.org/export#map=15/51.5126/5.4882</a></span></font></div>
        <div><span style="color:rgb(0,0,0);font-family:Arial,'Liberation
            Sans','DejaVu
Sans',sans-serif;font-size:13.3333339691162px;line-height:17.804801940918px"><br>
          </span></div>
      </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="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>