Dennis Guse
54844b9a9a
Sensor: add temperature.
...
Fixes #2241 .
2026-01-10 21:43:54 +01:00
Matt Votava
278f6323f1
track import: get extension from file name, not URI
...
When importing tracks from nextcloud, the URI for a file may be something like
content://org.nextcloud.documents/tree/7keh3ot7zmiaxecoktv6bfn6gdygt2lg%2F707/document/7keh3ot7zmiaxecoktv6bfn6gdygt2lg%2F745
The URI contains no ".", so getExtension() would return the whole URI as the extension, resulting in an "Unsupported file format" error.
To fix this, also pass DocumentFile.getName() to the ImportWorker.
2025-12-28 01:30:10 -08:00
Dennis Guse
5baa8fa21e
Cleanup: KMLTrackImporter doesn't need Position at first.
2025-12-28 08:59:19 +01:00
Dennis Guse
015352c989
TrackPoint is now a record.
2025-12-24 17:15:19 +01:00
Dennis Guse
8db381c448
Cleanup.
2025-12-06 10:25:11 +01:00
Dennis Guse
ef111b7959
Cleanup: removed import functionality for legacy format (coordinates 100 and 200 where special).
...
Deadline was EOF 2021.
2025-12-06 10:23:21 +01:00
Dennis Guse
f4073ead63
Removed KMZ export without photos.
2025-12-06 09:03:03 +01:00
Dennis Guse
2f90784442
Cleanup.
2025-12-06 08:47:06 +01:00
Dennis Guse
2cab394d03
Cleanup.
2025-12-06 08:41:57 +01:00
Dennis Guse
1cb3db496a
Cleanup.
2025-12-05 08:05:25 +01:00
Dennis Guse
d49d6c9857
Cleanup: AutoCloseableIterator now handles the cursor.
2025-12-05 08:05:25 +01:00
Dennis Guse
201f2d1b27
Cleanup: renaming Marker.category to typeLocalized.
2025-12-05 08:05:25 +01:00
Dennis Guse
1191f2e1e2
Cleanup: remove unused imports.
2025-12-05 08:05:25 +01:00
Dennis Guse
7956063598
Cleanup: Marker.icon was not used anymore.
2025-11-30 16:51:02 +01:00
Dennis Guse
5b4b54694c
Marker is now a record.
2025-11-30 16:51:02 +01:00
Dennis Guse
990c91f978
Track is now a record.
2025-11-27 19:35:05 +01:00
Dennis Guse
4ae9d24960
Implemented MarkerIterator.
2025-11-26 21:42:11 +01:00
Dennis Guse
0b0b1a0d8d
Cleanup.
2025-11-26 20:07:39 +01:00
Dennis Guse
090cdbf712
Cleanup: ContentProviderUtils.getMarkerCursor() has an optional parameter.
2025-11-26 20:05:27 +01:00
Dennis Guse
8258d607c3
Cleanup: ContentProviderUtils.getMarkerCursor() had an unused parameter.
2025-11-26 19:56:32 +01:00
Dennis Guse
1672ba99ad
Cleanup: in TrackImporter create Track object when all data got loaded.
2025-11-25 07:31:49 +01:00
Dennis Guse
a6d4a05839
Statistics requires startTime and stopTime.
...
This is now enforced for import as wells.
2025-11-25 07:31:48 +01:00
Dennis Guse
94a0b57362
Simplify construction of TrackStatisticsUpdater.
2025-11-21 13:37:14 +01:00
Dennis Guse
4307dceb70
Cleanup: rename to totalDuration and movingDuration.
2025-11-17 22:22:44 +01:00
Dennis Guse
6e4d46a14d
Distance.ZERO as constant.
2025-11-06 21:54:30 +01:00
Dennis Guse
7791ff8659
Cleanup: Track simplify constructors.
2025-11-06 21:54:30 +01:00
Dennis Guse
044e84154c
Bugfix: crash in settings.
...
Introduced in 696939112a
2025-11-05 21:31:40 +01:00
Dennis Guse
f31e146cda
Cleanup: TrackPoint uses AltitudeGainLoss.
2025-10-30 22:33:00 +01:00
Dennis Guse
696939112a
Cleanup: Statistics doesn't need isIdle.
...
isIdle is only used by SegmentStatisticsUpdater.
2025-10-30 21:52:00 +01:00
Dennis Guse
11f1b6e72d
Cleanup: TrackPointIterator is now package private.
2025-10-30 07:54:05 +01:00
Dennis Guse
05e45b6870
TrackStatisticsUpdater now provides Statistics.
...
Used for non-testing code.
2025-10-30 07:54:04 +01:00
Dennis Guse
0ad32f676c
Create SegmentStatisticUpdater by passing Statistics (2/2).
2025-10-30 07:54:04 +01:00
Dennis Guse
5dd56892fb
Cleanup: move Statistics to package models.
2025-10-30 07:54:04 +01:00
Dennis Guse
e3460d94ed
Statistics: used when only the data is needed (instead of passing SegmentStatisticUpdater).
2025-10-30 07:54:04 +01:00
Dennis Guse
fba08fe8dd
Cleanup: rename TrackStatistics to SegmentStatisticsUpdater.
2025-10-30 07:54:04 +01:00
Dennis Guse
361ae909e7
Bugfix: post-recording workout crashes.
...
Fixes #2180 .
Introduced in 02a77e5ce7
2025-10-29 22:14:46 +01:00
Dennis Guse
1a1a8a851b
Cleanup: use Stream.toList()
...
Replaces Stream.collect(Collection.toList() | Collectors.toCollection()).
2025-10-19 18:26:49 +02:00
Dennis Guse
21fe59f32c
Cleanup: SDK_INT is always >= Android O.
2025-10-19 17:48:23 +02:00
Dennis Guse
9b48993cd0
Cleanup.
2025-10-18 21:27:31 +02:00
Dennis Guse
54cec3e821
Cleanup: limit method visibility.
2025-10-18 21:10:26 +02:00
Dennis Guse
daeb972c8a
Cleanup: simplify stream by using List operations (desugar).
2025-10-18 21:10:26 +02:00
Dennis Guse
73872e8926
Cleanup.
2025-10-18 21:09:21 +02:00
Dennis Guse
e879eedbd6
Migrate ImportService to WorkManager.
...
Part of #1315 .
2025-10-15 17:25:48 +02:00
Dennis Guse
c7ca6800f7
Cleanup: ImportActivity.
2025-10-15 09:02:49 +02:00
Dennis Guse
fed884a6ce
ExportActivity inherits AbstractActivity.
2025-10-15 08:40:19 +02:00
Dennis Guse
02a77e5ce7
Migrate ExportService to WorkManager.
...
Part of #1315 .
2025-10-14 22:45:00 +02:00
Dennis Guse
2e13054042
Cleanup: TrackPoint exposes Position.
2025-06-27 15:51:51 +02:00
Dennis Guse
da109fb8fe
Import+Export activity: removed "require twice back navigation".
...
onBackPressed() is not support anymore as of Android gradle plugin 8.11.0
2025-06-25 19:58:40 +02:00
Dennis Guse
4843a2386a
Bugfix: KML/KMZ failed to export heading - ancient functionality got removed.
...
Fixes #2096 .
2025-06-10 17:58:42 +02:00
Dennis Guse
2e3c8c8895
Add logging for export failures.
...
Part of #2096 .
2025-06-10 08:40:57 +02:00