<div dir="ltr">You will have to do both. You will need to add the lib to your projects in order to use the Classes provided by Graphhopper. You will need to create graphs and put them in your SD card. The graph will server as data to calculate the routes. In order to create a routing data you will need the OSM file for your area. Once you download the OSM file run the following commands to create the routing files for your area.<br>
<br><pre><span class="">$ </span>git clone git://<a href="http://github.com/graphhopper/graphhopper.git">github.com/graphhopper/graphhopper.git</a> graphhopper
<span class="">$ </span><span class="">cd </span>graphhopper
<span class="">$ </span>./graphhopper.sh import your-area.pbf<br><br></pre><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 29, 2014 at 5:18 PM, RAJAL SHAH <span dir="ltr"><<a href="mailto:shah.rajal.shah@gmail.com" target="_blank">shah.rajal.shah@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey,<div>Thank You for your help.</div><div>But there is a doubt;do i need to add folder or lib of graphhopper?</div>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 29, 2014 at 3:15 PM, nirab pudasaini <span dir="ltr"><<a href="mailto:nirab.pudasaini@apexcollege.edu.np" target="_blank">nirab.pudasaini@apexcollege.edu.np</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Check out this gist. <br>
<a href="https://gist.github.com/35ce01d5935fecf0ba8b" target="_blank">https://gist.github.com/35ce01d5935fecf0ba8b</a></p>
<p dir="ltr">Hope it helps.</p>
<div class="gmail_quote"><div><div>On Jul 29, 2014 1:21 PM, "RAJAL SHAH" <<a href="mailto:shah.rajal.shah@gmail.com" target="_blank">shah.rajal.shah@gmail.com</a>> wrote:<br type="attribution">
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr">I want to implement offline routing using graphhopper on my android.I tried figuring out the way but cannot.<div>Please reply asap.</div><div>It's real urgent.<br clear="all"><div><br></div>-- <br><div dir="ltr">
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex">
<div><font face="Arial">hasta la vista!!</font><br></div>
<div>-<a href="mailto:shah.rajal.shah@gmail.com" target="_blank">Rajal Shah</a></div></blockquote></div>
</div></div>
<br></div></div>_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div>
<br>_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex">
<div><font face="Arial">hasta la vista!!</font><br></div>
<div>-<a href="mailto:shah.rajal.shah@gmail.com" target="_blank">Rajal Shah</a></div></blockquote></div>
</div>
</div></div><br>_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Nirab Pudasaini<div>Mobile Application Developer</div><div>Kathmandu Living Labs (<a href="http://www.kathmandulivinglabs.org" target="_blank">www.kathmandulivinglabs.org</a>)</div>
</div>
</div>