Only to show the way (not a snail with constant length):
For Android: This you need to change in config-file navit.xml of Navit (track is the Keyword):
Code:
<layer name="Internal">
<itemgra item_types="track" order="7-">
<polyline color="#3f3f3f" width="3"/>
</itemgra>
Its there, you only need to change color. Perhaps track_tracked after this has to do with it, too.
Then to store your way in navit.xml:
Code:
<log enabled="yes" type="textfile" attr_types="position_time_iso8601,position_direction,position_speed,profilename,position_radius" data="/sdcard/navit/logs/track_%Y%m%d-%%i_nav.txt" flush_size="1000" flush_time="30"/>
The line before on this position:
Code:
<vehicle name="Local GPS" profilename="bike" enabled="yes" active="1" source="android:" follow="1">
(here in between)
</vehicle>
Perhaps profilename is car, not bike. Its the standard-vehicle for routing.
To show the stored way (save and show simultaneous)
Code:
<mapset enabled="yes">
<maps type="binfile" enabled="yes" data="/sdcard/navit/*.bin"/>
<maps type="textfile" enabled="yes" data="/sdcard/navit/logs/*.txt"/>
</mapset>