Share track via intent

This commit is contained in:
Manuel Fuhr 2022-05-27 07:51:24 +02:00
parent bdecc2e1b9
commit 669ea28d1b
5 changed files with 106 additions and 53 deletions

View file

@ -63,6 +63,7 @@ public class RoutingEngine extends Thread
private Object[] extract;
private boolean directWeaving = !Boolean.getBoolean( "disableDirectWeaving" );
private String outfile;
public RoutingEngine( String outfileBase, String logfileBase, File segmentDir,
List<OsmNodeNamed> waypoints, RoutingContext rc )
@ -185,6 +186,7 @@ public class RoutingEngine extends Thread
track.writeGpx( filename );
foundTrack = track;
alternativeIndex = i;
outfile = filename;
}
else
{
@ -1369,4 +1371,7 @@ public class RoutingEngine extends Thread
return terminated;
}
public String getOutfile() {
return outfile;
}
}