Dennis Guse
43e1c99642
Refactoring package structure.
...
Part of #963 .
2022-01-14 23:34:05 +01:00
Dennis Guse
58b1396d64
Refactoring package structure.
...
Part of #963 .
2022-01-12 22:57:35 +01:00
Dennis Guse
e508c53ca9
TrackRecordingManager: store GPS-based TrackPoints based upon the distance to the previously stored GPS-based TrackPoint.
2022-01-12 18:07:48 +01:00
Dennis Guse
44e8cd1491
Bugfix: TrackDataHub should abort processing if stopped.
2022-01-09 19:02:54 +01:00
Dennis Guse
cd7bf36aa9
TrackRecordingService: add integration tests.
2022-01-09 18:28:35 +01:00
Dennis Guse
1163f74b98
SENSORPOINT and TRACKPOINT require a distance to be stored.
...
TrackRecording and TrackStatisticsUpdater.
Part of #500
Fixes #1074 .
2022-01-06 22:12:53 +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
07074ad260
TrackStatistics and ChartView: handle altitude and speed as optional with null as default value.
...
Then only the relevant part of the y-axis is shown.
Fixes #795 .
2022-01-02 18:17:20 +01:00
Dennis Guse
55d3502ff9
Cleanup using AndroidStudio analyze.
2021-12-30 12:16:31 +01:00
Dennis Guse
6d04659370
Timezone support: store timezone offset per Track.
...
When a recording is started the offset of the phone is used.
Timezone is exported to KML and GPX.
Fixes #301 .
2021-12-28 15:42:38 +01:00
Dennis Guse
f8cc257895
KMZ/KML: Export/Import SENSORPOINTs.
...
Part of #500 .
2021-12-28 13:05:23 +01:00
Dennis Guse
24b638aa30
Add TrackPoint type for BLE sensor only data (i.e., no GPS).
...
Part of #500 .
2021-12-28 13:05:23 +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
Dennis Guse
4c7d9384fb
Revert "Only record a TrackPoint if the traveled distance is greater than recording distance interval."
...
This reverts commit 08ba7d50c7 .
Fix #1046 .
2021-12-19 21:56:53 +01:00
Román Martínez
19382f19c4
Aggregated stats for only selected tracks.
2021-12-12 21:38:08 +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
Peter Storch
bb7efaa87c
fix #1025 exportdir failed to create document
...
fix #254 illegal filename characters
2021-11-29 08:15:08 +01:00
Román Martínez
b1032f898a
New field for recording layout: clock.
...
With this change fields can be: short, wide, clock short or clock wide.
Fixes #1015 .
2021-11-14 16:27:37 +01:00
Dennis Guse
08ba7d50c7
Only record a TrackPoint if the traveled distance is greater than recording distance interval.
...
Code seemed to be a leftover from the removed idle/non-idle functionality.
Fixed #1007 .
Co-authored-by: vlmendz <91810638+vlmendz@users.noreply.github.com >
2021-11-08 22:42:14 +01:00
Dennis Guse
62401b2c5c
Cleanup.
2021-11-07 22:19:02 +01:00
Dennis Guse
a9228017fc
Setting: add option to adjust idle speed.
...
New default: 0.5km/h (replaces 0.5mp/h).
Fixes #1004 .
2021-11-01 22:36:29 +01:00
Dennis Guse
115966cbdf
Bugfix: NPE using a cycling sensor.
2021-10-20 19:44:47 +02:00
Dennis Guse
1862bcc6f4
Cleanup.
2021-10-19 17:53:08 +02:00
Dennis Guse
900910e9f7
While recording: show cadence and speed from different sensor types correctly.
...
Fixes #970 .
2021-10-19 17:53:08 +02: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
Dennis Guse
d07ab3cc22
TrackRecordingManager: do not store altitude changes twice (previous …
...
…TrackPoint's storage was delayed).
Fixes #969 .
2021-10-16 10:23:09 +02:00
Dennis Guse
90493ae498
TrackRecordingManager: do not store sensor distance twice (previous TrackPoint's storage was delayed).
...
Fixes #969 .
2021-10-16 10:23:09 +02:00
Dennis Guse
52a110d998
Bugfix: reset on SensorDataSet should only take place if the TrackPoint was stored
...
Fixes #969 .
2021-10-16 10:23:09 +02:00
Ristello
58ca78b976
Removed interface AppConfig, since it is technically not needed.
2021-10-13 22:02:38 +02:00
Ristello
8079a25a42
Use an in-memory database when running instrumented tests.
...
- added new TestRunner and new TestApplication
- The TestRunner loads TestApplication as the apps Application instance when running the tests
- added new interface AppConfig to retrieve the database name
- changed Startup (Application) so that it implements AppConfig
- changed CustomSQLiteOpenHelper so that it retrieves the database name from the Application instance
- Startup provides the production database name
- TestApplication provides null which yields an in-mememory database
2021-10-13 22:02:38 +02:00
Dennis Guse
eac3d4b3db
Cleanup: SharedPreference as static variable.
...
Fixes #961 .
2021-10-12 22:24:51 +02:00
Dennis Guse
d76d5673a8
Bugfix: running sensor's data should be null if not connected.
...
Fixes #950 .
2021-10-09 14:24:50 +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
d5cfd118f6
Cleanup.
2021-08-28 19:00:06 +02:00
Román Martínez
13380afef0
TrackRecordingManager only updates track's statistics every time a new track point is inserted. Fixes #916 .
2021-08-22 20:01:38 +02:00
Román Martínez
9c4c8131f5
Recording stats layout customizable.
...
Users can select the order, visibility and importance (primary or secondary) of all stats for recording layout from the Settings.
Also, users can select the number of columns per row in the recording layout: 1, 2 or 3.
Finally, show altitude/coordinate from settings have been removed (not needed anymore).
Fixes #659 .
Fixes #302 .
Fixes #820 .
2021-08-21 19:40:31 +02:00
Dennis Guse
6f3efd9ff2
Bugfix: reset TrackRecordingManager properly.
...
Fixes #901 .
2021-08-07 19:37:14 +02:00
Dennis Guse
fc0cec6157
Share picture: if sharing a track, a share picture (PNG) is created in addition.
...
Fixes #363 .
2021-08-01 18:22:42 +02:00
Dennis Guse
242147e491
Sensor: adding Running Speed and Cadence.
...
Fixes #891 .
2021-07-31 18:44:42 +02:00
Dennis Guse
348f74c4b3
Cleanup.
2021-07-31 17:54:57 +02:00
Dennis Guse
bd5bf530f0
TrackRecordingService: extracted storing data into TrackRecordingManager.
...
Part of #822 .
2021-07-22 17:18:31 +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
18702bb6b3
Cleanup.
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
f9d3108cb2
Extract EGM2008CorrectionManager.
...
Part of #882 .
2021-07-22 17:18:31 +02:00
Dennis Guse
401e07d7e7
Cleanup.
2021-07-09 23:17:18 +02:00
Dennis Guse
6d0f1ba773
Cleanup using AndroidStudio's analyze function.
2021-07-08 07:40:10 +02:00
Dennis Guse
c9231a7640
Add copy constructor to SensorDataSet to avoid undesired changes.
2021-07-04 16:53:10 +02:00
Dennis Guse
c289fd174d
Cleanup.
2021-07-04 16:53:10 +02:00