Dennis Guse
58b1396d64
Refactoring package structure.
...
Part of #963 .
2022-01-12 22:57:35 +01:00
Román Ginés
5cd6992c90
Proper handling of timezone data on UI. Fixes #301 .
...
Details:
- Date and time handled by OffsetDateTime Java class.
- Track default name with offset (for date local and ISO 8601 options).
- TrackListActivity: shows relative today's date (like Today, Yesterday, 22 Dec, 22 Dec 2021, etc).
- StatisticsRecordedFragment: always shows the original date and time. For example, if you record an activity at 20h then it always will show 20h regardless the zone are where you are.
- Added new tests.
2022-01-03 16:27:40 +01:00
Dennis Guse
aff4bce3fe
Cleanup: tests also should close cursors.
2021-12-28 23:17:52 +01:00
Dennis Guse
c7bbaddc06
Cleanup: fix various issues in tests.
2021-12-28 13:05:24 +01:00
Román Ginés
b4ce99440a
AggregatedStatisticsActivity: added filter option (by category, start and/or end date).
...
Fixes #1039 .
2021-12-24 11:50:32 +01:00
Román Martínez
7f9057c519
Added profiles for custom layouts.
...
Users can add severals custom layouts and select one of them in recording fragment. The last selected layout is the one that will be use in the next recording.
Fixes #938 .
2021-12-07 18:07:25 +01:00
Dennis Guse
45571c68c9
Rename TrackPoint's cycling cadence to cadence as it may contain running data.
...
Part of #970 .
2021-10-19 17:53:08 +02:00
Román Martínez
d99fb5ea47
Cadence set to 0 when connected but user is not pedaling. Fixes #931 .
...
Speed set to 0 when connected but last value is outdated. Fixes #930 .
Bug: overflow when reset sensors (cadence and speed). Fixes #833 .
Moving time stops when is not moving (the last track point is not moving) and restarts when last track point is moving.
2021-09-21 18:07:23 +02:00
Dennis Guse
a4121319fa
Tests: close cursor.
2021-07-25 10:27:22 +02:00
Dennis Guse
997ddbb4f1
ExportImportTest: made tests deterministic (simulate GPS/sensors).
...
Fixes #761 .
2021-07-22 17:18:31 +02:00
Dennis Guse
db24639829
Cleanup: horizontal accuracy is now a Distance (and named consistently).
2021-07-22 17:18:31 +02:00
Dennis Guse
7d24262b38
TrackRecordingService: generate timestamps for TrackPoints in HandlerServer.
...
Part of #822 .
2021-07-22 17:18:31 +02:00
Dennis Guse
c289fd174d
Cleanup.
2021-07-04 16:53:10 +02:00
Dennis Guse
5899235b2b
Tests: create TrackPoint instead of Location.
2021-07-04 16:53:10 +02:00
Dennis Guse
6749f484e8
Export: removed KML/KMZ format variants
...
* KML/KMZ with track only (contained only coordinates)
* KML/KMZ with track details (did not contain markers and sensor data)
2021-06-28 23:03:59 +02:00
Román Martínez
24e18347a6
IntervalsFragment doesn't use TrackDataHub anymore. This improve intervals performance. Fixes #808 .
2021-06-15 17:09:24 +02:00
Dennis Guse
e9e48e4a79
Bugfix: cycling sensors report wheel count as UINT32 - data type must be long, int is too small.
...
Also forgot to fix tests.
Fixes #810 .
2021-06-13 19:17:05 +02:00
Dennis Guse
c00d769188
SensorDataCycling: use Distance.
2021-05-16 08:35:47 +02:00
Dennis Guse
00489a121a
Bugfix: TrackStatisticsUpdater was computing distance incorrectly.
...
While using a cycling speed and distance sensor, the updater was not using the distance from the most recent trackpoint but rather the one considered last moving.
Fixes #762 .
2021-05-16 08:35:47 +02:00
Dennis Guse
da70fca389
Bugfix: TrackStatistics handles SEGMENT_START_AUTOMATIC properly.
2021-04-13 19:18:18 +02:00
Dennis Guse
f0341e831f
Github Actions: somehow the emulator has not enough memory.
...
Fixes #599 .
2021-04-13 19:18:18 +02:00
Dennis Guse
99e5dfbe72
Github Actions: somehow the emulator has not enough memory.
...
Fixes #599 .
2021-04-13 19:18:18 +02:00
Dennis Guse
6f9c788965
Value objects distance and speed.
...
#679
2021-04-13 19:18:18 +02:00
Dennis Guse
a899be4598
Use Duration for Markers (instead of long).
...
Now also tests.
2021-04-10 00:08:54 +02:00
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
2431d60171
Cleanup.
2021-03-15 17:27:41 +01:00
Dennis Guse
7d2a6fff59
TrackPointIterator: removed manual batching as it should not be necessary.
2021-03-15 17:27:41 +01:00
Dennis Guse
a5158a55d9
Use distance from cycling speed sensors.
...
Fixes #505 .
2021-03-15 17:27:41 +01:00
Dennis Guse
29b522b8a2
Cleanup.
2021-03-11 21:16:24 +01:00
Dennis Guse
844c6e9609
TrackPoint: moved methods into class.
2021-03-04 19:18:31 +01:00
Román Martínez
edf4ccc941
It computes the average for heart rate, cadence, and power (duration-based average) and the maximum for heart rate and cadence.
2021-03-02 19:55:18 +01:00
Román Martínez
a9624f72e7
Track recorded stats shows sensor data from trackpoints table.
...
Heart rate: maximum and average.
Cadence: maximum and average.
Power: average.
Fixes #525 and #502 .
2021-02-14 17:34:19 +01:00
Dennis Guse
e0553f812f
Import: segments might contain no TrackPoints.
...
#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
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
Dennis Guse
50bb0b14b4
Segments: database upgrade/downgrade functionality for version 30; version 29 is still used.
...
This will store segment data in TrackPoint.type.
This commit will enable downgrading to previous version.
#316 .
2021-01-24 21:14:50 +01:00
Dennis Guse
e9551bea36
Introduced TrackPoint.Id.
2021-01-10 20:25:59 +01:00
Dennis Guse
577b978a5c
Cleanup.
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
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
2255624235
Cleanup: rename waypoint to marker (tests).
2020-12-13 18:05:08 +01:00
Dennis Guse
55fa6d2d79
Code cleanup using AndroidStudio.
2020-12-13 18:05:08 +01:00
Dennis Guse
5a0cb10838
Bugfix: cadence and speed now can compare when data is not set.
2020-11-11 21:25:56 +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
Dennis Guse
48c3695b5d
Database enforces foreign key constraints incl. cascading deletes. ( #480 )
...
* Database enforces foreign key constraints incl. cascading deletes.
Fixes #317 .
2020-10-30 21:26:13 +01:00
Román
0036934fb3
Intervals: added elevation gain and only shows speed or pace, depending on settings.
2020-10-11 12:12:44 +02:00