Dennis Guse
bc1b4e3cd2
Rename elevation to altitude (without translations).
...
Fixes #678 .
2021-04-04 17:45:38 +02:00
Román Martínez
e09b04308c
Track recording service handles the status of recording: track's id, pause and GPS status.
...
Created an interface for all components that want to know about recording status through the service.
All interface's methods are optional so every component can implement what they need.
Fixes #388 .
2021-04-04 13:15:42 +02:00
Dennis Guse
d3c1247617
Bugfix: GPX TrackPointExtension/v2 broken.
...
Fixes #684 .
2021-03-28 18:29:10 +02:00
Dennis Guse
a5158a55d9
Use distance from cycling speed sensors.
...
Fixes #505 .
2021-03-15 17:27:41 +01:00
Dennis Guse
15fbd90ca4
Performance: Keep reference to sharedPreferences.
...
So far, we opened the SharedPreferences very often, which is very slow; also happened in the UI thread a lot.
Fixes #642 .
2021-03-15 12:01:32 +01:00
Dennis Guse
7b7d7c8061
GPX: export and import power data.
...
Fixes #638 .
2021-03-14 19:22:29 +01:00
Román Martínez
7d6919d3f9
Bug fixed: ImportService send a list of Track.Id.
2021-03-14 19:22:05 +01:00
Román Martínez
bd48944ad5
Track export name: first UUID, name and extension (<First 32bits UUID>_<track's name>.<extension>). Fixes #512 .
2021-03-14 18:42:27 +01:00
Dennis Guse
503cba1315
Import: allow import multiple select files.
...
Fixes #559 .
2021-03-14 12:48:27 +01:00
Dennis Guse
508af45449
Refactored TrackImporter interface.
2021-03-11 21:16:36 +01:00
Dennis Guse
0f89cd7875
GPX: support multiple tracks.
...
Fixes #617 .
2021-03-11 21:16:36 +01:00
Dennis Guse
114fc8255f
KML export: remove #start (was broken due to #316 ) and #end (included track statistics) placemarks.
...
Fixes #629 .
2021-03-08 18:11:36 +01:00
Dennis Guse
26e655d58f
Cleanup.
2021-03-08 18:11:36 +01:00
Dennis Guse
a13465391f
Import: replaced SAXParserException as it only shows the message of it's cause.
2021-03-06 18:13:06 +01:00
Dennis Guse
fdf4336a9b
Cleanup.
2021-03-04 19:18:31 +01:00
Dennis Guse
8a35835791
GPX export: re-implemented basic support for multiple tracks.
...
Fixes #614 .
2021-02-28 20:56:05 +01:00
Dennis Guse
fa12086951
GPX: only export TrackPoints with lat/lng. ( #591 )
...
GPX: only export TrackPoints with lat/lng.
Thus, segmentation (manual/automatic) cannot be restored on import.
This also affects the TrackStatistics.
2021-02-09 19:00:28 +01:00
Dennis Guse
cbe469d5e4
Import: empty tracks cannot be imported as TrackStatistics cannot be restored.
...
#316 .
2021-01-24 22:21:37 +01:00
Dennis Guse
5aa016b5b9
Import: compute TrackStatistics onTrackEnd.
...
ExportImportTest were not checking TrackStatistics correctly.
#316 .
2021-01-24 22:21:37 +01:00
Dennis Guse
d157e94220
Marker refactoring.
...
Location values are stored directly.
2021-01-24 22:21:37 +01:00
Dennis Guse
e990b413cd
Replace long time_ms with Instant and Duration, respectively.
...
Fixes #561 .
2021-01-24 22:21:36 +01:00
Dennis Guse
9f6d6711e5
Segments: on import restore manual segment start/end if resume/pause trackpoints were exported.
2021-01-24 22:21:36 +01:00
Dennis Guse
ab47320216
Segments: import/export is working incl. restoring TrackStatistics.
...
KML exports sensor data if actually present.
#316 .
2021-01-24 22:21:36 +01:00
Dennis Guse
fcc17413e3
Segments: use TrackPoint.type.
...
So, far specific latitude for segment start/end (i.e., PAUSE/RESUME) was used.
#316 .
2021-01-24 22:21:36 +01:00
Román Martínez
860df0197e
ImportActivity offers to open track option (when only one track is imported). Fixes #558 .
2021-01-10 20:40:14 +01:00
Román Martínez
f1d791a62c
Import/Export summary messages improved (only show useful data).
2021-01-10 20:40:14 +01:00
Dennis Guse
e9551bea36
Introduced TrackPoint.Id.
2021-01-10 20:25:59 +01:00
Dennis Guse
a689b6eb2c
Cleanup: removed descending iterator for TrackPoints.
2021-01-10 20:25:59 +01:00
Dennis Guse
ccd93dd17d
Track.Id must now always be valid (if present).
2021-01-10 20:25:59 +01:00
Román Martínez
1c4946e85b
Move RuntimeException to ImportParseExceptio so app is not crashes and import process go on. Fixes #557 .
2020-12-31 12:34:38 +01:00
Román Martínez
fd1b7b8af9
Added opentracks:gain and opentracks:loss information in GPX files. Fixes #555 .
2020-12-26 20:30:10 +01:00
Román Martínez
4714171e21
Added elevation loss via barometer (like elevation gain). Fixes #547 .
2020-12-25 18:19:01 +01:00
Dennis Guse
2fa8b998f9
Code cleanup using AndroidStudio's analyze feature.
2020-12-17 19:59:53 +01:00
Dennis Guse
55fa6d2d79
Code cleanup using AndroidStudio.
2020-12-13 18:05:08 +01:00
Dennis Guse
cea180f871
Code cleanup using AndroidStudio's Analyze feature.
2020-12-05 23:22:15 +01:00
Peter Storch
4476a15558
throw Exception when no doc.kml file found in kmz
2020-11-29 13:56:22 +01:00
Peter Storch
215c28be85
fix #537 ignore waypoint markers with invalid
...
coordinates on import.
I've also added a unit test with such an export file.
2020-11-29 13:56:22 +01:00
Román Martínez
974a5afeb1
Only clean if parse error is out of <trk>
2020-11-25 06:39:07 +01:00
Román Martínez
9c9bdde6b9
Import files by track in memory (avoid clean track when error). Fixes #473 .
2020-11-25 06:39:07 +01:00
Román Martínez
974baaf611
Marker Bugfixes: markers deletion didn't work and track import didn't include marker's photos. Fixes #514 .
...
Marker edition bugfixed: orphan photos are deleted.
2020-11-17 22:02:26 +01:00
Dennis Guse
9ef312fc93
Search is now handled by TrackListActivity and MarkerListActivity.
...
* data is loaded via cursor,
* removed custom ranking (handled in database),
* search text is wrapped with wildcards, and
* search view can be closed by back button.
Fixes #492 .
2020-11-09 18:56:25 +01:00
Román Martínez
82f5c127ee
Bugfix: NPE in import. Fixes #506 .
2020-11-08 14:33:31 +01:00
Peter Storch
90a8fc898a
fix #491 crash export on android 11
2020-11-03 19:57:19 +01:00
Peter Storch
43e0f33776
optimize multiple track deletion
...
After #480 got implemented, we can now delete multiple tracks in one go and only cause DB vacuum once.
2020-11-01 21:11:58 +01:00
Román Martínez
e4270b983a
ExportActivity bugfix: setContentView was missing.
2020-11-01 13:21:53 +01:00
Dennis Guse
0209a90e01
Code cleanup.
2020-11-01 08:38:47 +01:00
Dennis Guse
0f92a37146
Use ViewBinding for activities.
2020-11-01 08:20:26 +01:00
Dennis Guse
9541a92657
Small cleanups and improvements code.
2020-10-31 20:39:37 +01:00
Román Martínez
acc2627bde
Activity with progress and summary for import all option. Fixes #471 .
...
ErrorListDialog shared by ExportActivity and ImportActivity.
2020-10-31 20:39:37 +01:00
Peter Storch
bbb91fedc5
fix #470 Unable to parse kml in kmz
2020-10-22 19:22:46 +02:00