<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Peter..<br>
Sorry for the delayed feedback.<br>
I was using version 0.2 but i have since changed to 0.3 and it is
all working perfectly well.<br>
I think the issue had already been fixed.<br>
<br>
Again i say, thank you very much<br>
<br>
On 02/21/2014 04:44 PM, Peter K wrote:
<blockquote cite="mid:5307582F.5020202@yahoo.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hey,<br>
<br>
that looks like a different problem. Either a bug, which would
be very important to get fixed. Or you mixed versions or have
mistakes in configuration. Of course there should be a more
descriptive error, if that would be the case.<br>
<br>
If you can reproduce this and you want me to understand this
then please create an issue and a unit tests where this occurs.
Or at least describe the steps you did so that I can reproduce
it here. E.g. "I use graphhopper version x (or a specific
commit), then imported area y and routed from a to b." Also
include OS+java version.<br>
<br>
Regards,<br>
Peter.<br>
<br>
<br>
</div>
<blockquote cite="mid:530750A1.3090208@eygo.biz" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Hello Peter..<br>
Sorry it took a while but here are the logs.<br>
<br>
E/AndroidRuntime( 1511): at
java.lang.Thread.run(Thread.java:1019)<br>
E/AndroidRuntime( 1511): Caused by:
java.lang.IllegalStateException: Base nodes have to be identical
was were not: 0 26-7 vs 0 172-7<br>
E/AndroidRuntime( 1511): at
com.graphhopper.routing.QueryGraph$1.execute(QueryGraph.java:191)<br>
E/AndroidRuntime( 1511): at
com.graphhopper.routing.QueryGraph$1.execute(QueryGraph.java:140)<br>
E/AndroidRuntime( 1511): at
gnu.trove.map.hash.TIntObjectHashMap.forEachValue(TIntObjectHashMap.java:402)<br>
E/AndroidRuntime( 1511): at
com.graphhopper.routing.QueryGraph.lookup(QueryGraph.java:139)<br>
E/AndroidRuntime( 1511): at
com.graphhopper.routing.AbstractRoutingAlgorithm.calcPath(AbstractRoutingAlgorithm.java:81)<br>
E/AndroidRuntime( 1511): at
com.graphhopper.GraphHopper.route(GraphHopper.java:619)<br>
E/AndroidRuntime( 1511): at
ug.ramani.ramani.NavigationActivity$20.doInBackground(NavigationActivity.java:1295)<br>
E/AndroidRuntime( 1511): at
ug.ramani.ramani.NavigationActivity$20.doInBackground(NavigationActivity.java:1)<br>
E/AndroidRuntime( 1511): at
android.os.AsyncTask$2.call(AsyncTask.java:185)<br>
E/AndroidRuntime( 1511): at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)<br>
E/AndroidRuntime( 1511): ... 4 more<br>
<br>
<br>
On 02/20/2014 04:44 PM, Peter K wrote:
<blockquote cite="mid:530606AB.9080503@yahoo.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">The exact log entry would be
appreciated. Also it seems that 'compareTo' and 'equals' are
there since API level 1:<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://developer.android.com/reference/java/lang/String.html#compareTo%28java.lang.String%29">https://developer.android.com/reference/java/lang/String.html#compareTo%28java.lang.String%29</a><br>
<br>
Peter.<br>
<br>
</div>
<blockquote
cite="mid:CALKz0UmndjOXv4FVfprZ11p5tct=u=9JS0cLU8bnMRS_u53dNA@mail.gmail.com"
type="cite">
<div dir="ltr">I had the same problem, it only work on 2.3.2
or higher version.
<div><br>
</div>
<div>One of the problems for olther versions is the
String.compare(String)</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote"> On Thu, Feb 20, 2014 at 1:08 PM,
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: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> Hey David,<br>
<br>
it should work on both although I've tested only 2.3.3<br>
<br>
What is the error message in the log?<br>
<br>
Regards,<br>
Peter.<br>
<div class="im HOEnZb"><br>
<br>
> Hello..<br>
> I am trying to build an application to using
graphhopper (android<br>
> library).<br>
> On android v 4.1 and greater, all is well.<br>
> When using 2.3 or 2.2, the application crashes
when i call the<br>
> calcPath function.<br>
><br>
> Does graphhoper work on those versions of
android?<br>
><br>
<br>
<br>
</div>
<div class="HOEnZb">
<div class="h5">________________________________<br>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
<pre class="moz-signature" cols="72">--
David Ssali
Team Leader
EYGO LIMITED
P.O. BOX 22214, KAMPALA
Tel: +256 41 469 1531
Mob: +256713178532</pre>
</body>
</html>