Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Can app log data by updating navithdpi.xml (debug-log/track-log)? #19

Open
navit-user opened this issue May 2, 2017 · 5 comments
Open

Comments

@navit-user
Copy link

Your system information:

ZANavi Version: 2.0.56

App from Google-Play / F-Droid / other:
Built from source

Android OS Version:
Marshmallow 7.0

Device:
Moto G4

Please describe your issue in as much detail as possible:

Added following lines to navithdpi.xml and then updated app using adb install -r

Expecting

Log files to be created and available to download using adb as in other versions of Navit that use navit.xml user created file for control of output.

Steps for reproducing this issue:

See above

Screenshots (if possible):

@navit-user
Copy link
Author

XML update:
<debug name="global" dbg_level="debug" level=3"/> <log enabled="yes" type="textfile_debug" data="debug_%Y%m%d-%i.txt" flush_size="1000" flush_time="30"/><log enabled="yes" type="gpx" attr_types="position_time_iso8601,position_direction,position_speed,profilename,position_radius" data="track_%Y%m%d-%%i.gpx" flush_size="1000" flush_time="30"/>

@zoff99
Copy link
Owner

zoff99 commented May 2, 2017

gpx logging is not supported in ZANavi.
the xml file should not be manually updated.

@navit-user
Copy link
Author

OK, can you tell me which Java variable(s) is the vehicle position (lat, lon)? Thanks.

@navit-user
Copy link
Author

...sorted.

@navit-user navit-user reopened this May 3, 2017
@zoff99
Copy link
Owner

zoff99 commented May 3, 2017

@navit-user if you want to log all your routes to gpx files you can use this:
http://static.zanavi.cc/be-a-testdriver/be-a-testdriver.html

the GPX file will be on your SD card

but there are enough GPX loggers out there on Android

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants