<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">The files on google code are for an
older release. So your app should fail when using those.<br>
It looks like your android environment is still not using the
latest master.<br>
<br>
Try to update eclipse dependencies/refresh etc (e.g. execute
'./graphhopper.sh android')<br>
Then you should see "6" when printing Constants.VERSION_FILE<br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote
cite="mid:CAGoZBepAgJryWzbndsa-_xL1KTn88N32DyVsu+k1vQH_eL9r8w@mail.gmail.com"
type="cite">
<div dir="ltr">Hi again ;)
<div style="">I back to maste branch and this is the logcat when
i choose download berlin map</div>
<div style=""><br>
</div>
<div style="">
<div>05-06 15:27:42.822: I/(15363): Attempting to load EGL
implementation /system/lib//egl/libEGL_tegra_impl</div>
<div>05-06 15:27:42.857: I/(15363): Loaded EGL implementation
/system/lib//egl/libEGL_tegra_impl</div>
<div>05-06 15:27:42.927: I/(15363): Loading GLESv2
implementation /system/lib//egl/libGLESv2_tegra_impl</div>
<div>05-06 15:27:44.092: I/AndroidLoggerFactory(15363): Logger
name 'com.graphhopper.util.Helper' exceeds maximum length of
23 characters, using 'c*.g*.u*.Helper' instead.</div>
<div>05-06 15:28:01.557: I/GH(15363): downloading <a
moz-do-not-send="true"
href="http://graphhopper.googlecode.com//files/berlin.ghz">http://graphhopper.googlecode.com//files/berlin.ghz</a>
to /storage/sdcard0/graphhopper/maps/berlin.ghz</div>
<div>05-06 15:28:24.002: I/AndroidLoggerFactory(15363): Logger
name
'com.graphhopper.routing.ch.PrepareContractionHierarchies'
exceeds maximum length of 23 characters, using
'c*.g*.r*.c*.PrepareCon*' instead.</div>
<div>05-06 15:28:24.057: I/dalvikvm-heap(15363): Grow heap
(frag case) to 10.794MB for 1771216-byte allocation</div>
<div>05-06 15:28:24.097: I/dalvikvm-heap(15363): Grow heap
(frag case) to 12.479MB for 1771216-byte allocation</div>
<div>05-06 15:28:24.132: I/dalvikvm-heap(15363): Grow heap
(frag case) to 15.857MB for 3542416-byte allocation</div>
<div>05-06 15:28:24.177: I/dalvikvm-heap(15363): Grow heap
(frag case) to 19.236MB for 3542416-byte allocation</div>
<div>05-06 15:28:52.982: I/GH(15363): downloading <a
moz-do-not-send="true"
href="http://graphhopper.googlecode.com//files/berlin.ghz">http://graphhopper.googlecode.com//files/berlin.ghz</a>
to /storage/sdcard0/graphhopper/maps/berlin.ghz</div>
<div><br>
</div>
<div><br>
</div>
<div style="">Everything seems fine but it does not because
routing is never ready to use.</div>
<div style=""><br>
</div>
<div style="">Please check this.</div>
<div style=""><a moz-do-not-send="true"
href="http://imageshack.us/photo/my-images/198/ss2mzq.png/?sa=0">http://imageshack.us/photo/my-images/198/ss2mzq.png/?sa=0</a><br>
</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style="">Update: there is a problem with names:</div>
<div style="">1) if i dowload maps from here <a
moz-do-not-send="true"
href="https://code.google.com/p/graphhopper/downloads/list">https://code.google.com/p/graphhopper/downloads/list</a> shows
up the message above.</div>
<div style=""><br>
</div>
<div style="">2) If i build the routing files "manually"
using <span
style="background-color:rgb(248,248,248);color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Courier,monospace;font-size:13px;line-height:19px">./graphhopper.sh
import your-area.osm; shows up the message above.</span></div>
<div style=""><span
style="background-color:rgb(248,248,248);color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Courier,monospace;font-size:13px;line-height:19px"><br>
</span></div>
<div style="">
<div>3) But if I build the routing files "manually" using <span
style="background-color:rgb(248,248,248);color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Courier,monospace;font-size:13px;line-height:19px">./graphhopper.sh
import your-area.osm; and rename the </span><font
color="#333333" face="Consolas, Liberation Mono,
Courier, monospace"><span style="line-height:19px">spatialNIndex
file to loc2idIndex</span></font><span
style="background-color:rgb(248,248,248);color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Courier,monospace;font-size:13px;line-height:19px">.
Routing WORKS again!</span></div>
<div><span
style="background-color:rgb(248,248,248);color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Courier,monospace;font-size:13px;line-height:19px"><br>
</span></div>
</div>
<div style="">Hope it helps!</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/5/6 Peter K <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:peathal@yahoo.de"
target="_blank">peathal@yahoo.de</a>></span><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>Hi Ricardo,<br>
<br>
Currently issue-23 is a work in progress not really
suited for normal use - except you want to activly
develop on it.<br>
<br>
And for master: I don't need the full logcat output just
where something with "Exception" starts :)<br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">I received the subscription thanks!
<div><br>
</div>
<div>I decide test issue-23 branch and the problem
still here.</div>
<div>When i use the remote option or download
option( i.e. Berlin) then the map shows up but
fails when the app invoke prepareGraph() method:
and then show the message:</div>
<div><br>
</div>
<div>"An error happened while creating graph:
Couldn't load
storage/sdcard0/graphhopper/maps/berling-gh"</div>
<div><br>
</div>
<div>
<div> protected Path saveDoInBackground(Void...
v) throws Exception {</div>
<div> GraphHopper tmpHopp = new
GraphHopper().forMobile();</div>
<div> tmpHopp.chShortcuts(true,
true);</div>
<div> <b> tmpHopp.load(mapsFolder
+ currentArea);</b></div>
<div> log("found graph with " +
tmpHopp.graph().nodes() + " nodes");</div>
<div> hopper = tmpHopp;</div>
<div> return null;</div>
<div> }</div>
<div><br>
</div>
<div>While i am debuggin i can see how in the
instrucction <b>tmpHopp.load(mapsFolder +
currentArea); </b>an exception is thrown
and catched and then show the message above.</div>
<div><br>
</div>
<div>I cant send you a logcat because everytime
i try to use the app restart the download and
then i have to uninstall and clean graphhopper
folder.</div>
<div><br>
</div>
<div>Looks like master branch seems more stable
than issue-23 branch.</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/5/6 Peter K <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:peathal@yahoo.de"
target="_blank">peathal@yahoo.de</a>></span><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>I sent you an reply to the mailing list
+ subscribed you. <br>
<br>
If you did't recieve it ... I'll really
have to consider switching the mailing
list :(<br>
<br>
Did you subscribed to the mailing list
before posting to it?<br>
<br>
<br>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">Hi Peter,
<div>Thanks for reply, but i did not
recieve any answer ou vía mailing
list.</div>
<div><br>
</div>
<div>Now i have another problem :(</div>
<div><br>
</div>
<div>Today (before read this
message) I cloned master branch
and now there are no more
problems generating files for
routing but... when i carry them
to SD card and I start the app
something fails in load method of
GraphHopper class.</div>
<div><br>
</div>
<div>
<div>protected Path
saveDoInBackground(Void... v)
throws Exception {</div>
<div> GraphHopper
tmpHopp = new
GraphHopper().forAndroid();</div>
<div>
tmpHopp.contractionHierarchies(true);</div>
<div> <b>
tmpHopp.load(mapsFolder +
currentArea);</b></div>
<div> log("found
graph with " +
tmpHopp.getGraph().nodes() + "
nodes");</div>
<div> hopper =
tmpHopp;</div>
<div> return null;</div>
<div>}</div>
</div>
<div><br>
</div>
<div>I check mapsFolder and
currentArea strings and they have
correct values.</div>
<div><br>
</div>
<div>More info: i tried with
Slovenia and Portugal, in other
hand if i use remote option and
download Berlin or New york
everything goes well.</div>
<div><br>
</div>
<div>PD: I'm sorry if this should be
and issue in github, but i am very
new and I am not sure if this can
be considered an issue.</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"> <br>
<br>
<div class="gmail_quote">2013/5/6
Peter K <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:peathal@yahoo.de"
target="_blank">peathal@yahoo.de</a>></span><br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex"> hi
ricardo, did you recieve my
answer via the mailing list?<br>
<br>
<a moz-do-not-send="true"
href="http://lists.openstreetmap.org/pipermail/graphhopper/2013-May/000108.html"
target="_blank">http://lists.openstreetmap.org/pipermail/graphhopper/2013-May/000108.html</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</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 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>