Dennis Guse
e939778beb
Refactor: use marker instead of waypoint.
...
Fixes #389 .
2020-09-23 17:16:34 +02:00
thrillfall
5a44da3fb0
extract logic for creating DocumentFile for export to align naming
2020-09-14 17:25:29 +02:00
Dennis Guse
88cf46d999
Bugfix: another missed toString() in the id-refactoring.
2020-09-14 12:29:31 +02:00
Román
a6e275f8aa
Several hidden bugfixes around Track.Id
2020-09-09 17:53:07 +02:00
thrillfall
78c26cb669
unify export filename logic
2020-09-09 17:50:00 +02:00
Dennis Guse
04b8d0f4a8
Import/Export: elevation gain per TrackPoint.
2020-09-05 12:39:23 +02:00
Dennis Guse
74e09e1fa9
Refactoring to marker: data class and ContentProviderUtils.
...
#389
2020-09-05 10:20:16 +02:00
Dennis Guse
f128111650
Code cleanup.
2020-09-05 01:19:59 +02:00
Dennis Guse
bcbaf4985a
Implement Track.Id and Waypoint.Id (without tests).
...
Fixes #276 .
2020-08-22 23:18:48 +02:00
thrillfall
6412bb9fcd
remove useless parameter
2020-08-18 16:37:44 +02:00
thrillfall
8425997c29
add overload for exporter that takes single track
2020-08-18 16:37:44 +02:00
thrillfall
f4b585b830
do not pass complete track data to exporter factory method just to knwo if there is more then one track to export
2020-08-18 16:37:44 +02:00
thrillfall
47c259fa9a
move tracks array from class state to method argument
2020-08-18 16:37:44 +02:00
thrillfall
80208e3188
move condition for writing multitrack begin and end outside of methods
2020-08-18 16:37:44 +02:00
thrillfall
2655d3e773
fix decorator TrackExporter interface
2020-08-18 16:37:44 +02:00
Dennis Guse
6a397922d2
Cleanup using IntelliJ's analyze code.
2020-08-16 20:13:09 +02:00
Dennis Guse
c26a5edc03
Make track import behavior on duplicate UUID configurable (default: import with a new UUID).
2020-08-15 21:12:10 +02:00
Dennis Guse
f8afa9dbad
Import/export track UUID (necessary for synchronization).
...
If a track with a UUID is presented in OpenTracks, it cannot be imported again (enforced by database constraint).
Fixes #307 .
2020-08-15 21:12:10 +02:00
Dennis Guse
59d4bfa4ac
Export KML: report OpenTracks as generator.
2020-08-15 21:12:10 +02:00
Dennis Guse
065f42fbef
GPX import/export: speed via TrackPointExtension/v2.
...
Fixed data type for heartrate/speed (no decimals) allowed.
Fixes #335 .
Fixes #181 .
GPXTrackWriter: set Trackpointv2 header correctly and export time in correct sequence.
2020-07-24 22:06:58 +02:00
ronajon
c92371b36a
GPX import/export: add heartrate and cadence via TrackPointExtension/v1.
2020-07-24 22:06:58 +02:00
Dennis Guse
b70c3be5af
Cleanup: static code analysis using AndroidStudio.
2020-07-20 20:05:45 +02:00
Dennis Guse
bf9b6d6627
Import: individual files chosen by an external app.
2020-07-18 18:55:30 +02:00
Dennis Guse
7fd9893560
TrackDeleteActivity: keep a wakelock while deletion is ongoing.
2020-07-13 18:19:34 +02:00
Román
f209031df0
Pass extra TrackFileFormat enum like a Serializable instead of String (with String resulted in Null after get extra).
2020-07-13 18:19:34 +02:00
Dennis Guse
2dbab929ac
Export: replaced async task with thread.
...
Almost identical to the import.
2020-07-13 18:19:34 +02:00
Dennis Guse
e9eb764d12
Import: split ImportActivity into fragments.
...
The fragements keep the state while the activity is re-created (e.g., orientation change).
2020-07-13 18:19:34 +02:00
Dennis Guse
41a4a5527a
Import: replaced async task with thread.
...
Extracted directory chooser into a separate activity.
2020-07-13 18:19:34 +02:00
Román Martínez
23c3a4d651
Import/Export speed in GPX and KML files. ( #306 )
...
Import/Export speed in GPX and KML files. Fixes #300 .
2020-06-30 14:39:44 +02:00
Dennis Guse
ecdb509371
Export/import test now verifies the TrackPoints.
2020-06-22 21:56:22 +02:00
Dennis Guse
f4fe7b1ab3
Import: convert all failed date parsing into SAXExceptions.
2020-06-08 22:51:01 +02:00
Dennis Guse
b617420290
Export: do not show progress of exported TrackPoints.
...
Only the overall number of tracks is shown now (similar to import).
2020-05-24 10:58:43 +02:00
Dennis Guse
53b267150b
Export/Import: TrackFileFormat is now selected via settings only.
2020-05-24 10:58:43 +02:00
Dennis Guse
dc4ac07e11
Cleanup.
2020-05-09 20:21:16 +02:00
Dennis Guse
a50b1ac78e
Cleanup using Android Studio code analyzer.
2020-04-28 08:07:24 +02:00
Román Martínez
240d8f6b6c
Images/folders are deleted when tracks/waypoints are deleted.
...
This fixes #189 .
2020-04-27 18:18:02 +02:00
Dennis Guse
3408ea97f4
Refactoring: move TrackPointDataSet directly into TrackPoint.
2020-04-27 07:17:46 +02:00
Dennis Guse
ddb17f61cb
Bluetooth LE: implemented cycling cadence and speed sensors.
...
Cadence is working while speed still requires the wheel size.
2020-04-27 07:17:46 +02:00
Román
74835dcef5
KMZ import/export: code improved.
2020-04-22 13:19:32 +02:00
Román
ed0dc05366
KMZ exporting: marker images use waypoint id as a name.
2020-04-21 19:01:35 +02:00
Román
653eb8320a
KMZ importing: look for images anywhere in KMZ file and only images referenced remain in external storage.
2020-04-21 19:01:35 +02:00
Román
54b9c4370b
KML description: max/min elevation will not show if have invalid values (unknow).
2020-04-21 19:01:35 +02:00
Román
fa9cb3903c
KMZ exporting: checks waypoints images exists before parse kml.
2020-04-21 19:01:30 +02:00
Román
0f1d8500d1
KMZ importing: firstly copies images then parses kml (checks kml's href link to image is correct).
2020-04-21 19:00:03 +02:00
Dennis Guse
f485d90ef2
ContentProviderUtils.bulkInsertTrackPoint(): removed length parameter.
2020-04-14 19:42:17 +02:00
Román
adbad04867
URIs for waypoint's photos are correct. Fixes #183 .
2020-04-12 18:27:20 +02:00
Dennis Guse
6d800caab1
While importing photos, check url carefully.
...
(cherry picked from commit 309c96e4789bd7623b84720a8c8f2bf297c95d59)
2020-04-10 14:42:11 +02:00
Román
7bf153db39
Avoid NullPointer in creating photoUrl when importing
2020-04-10 14:42:11 +02:00
Román
1b69f29751
Importing creates content:// for attached pictures. Also, exporting without points bug fixed and images href contains relative link. Fixes #166 and #176 .
2020-04-10 14:42:11 +02:00
Dennis Guse
fbc902e830
Cleanup using AndroidStudio code analyzer.
...
Moved to iterator for loops for ChartView and ChartFragment.
2020-04-05 21:56:26 +02:00