Dennis Guse
1e518a4c35
Use a non-static Binder for TrackRecordingService.
...
Fixes #98 .
2021-04-09 18:34:23 +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
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
3dc8a724d8
Bug: StatisticsRecordingFragment: speed and location where sometimes 0.
...
Fixes #628 .
2021-03-07 22:28:53 +01:00
Dennis Guse
fce76230e1
TrackDataListener now passes most recent TrackPoint to onNewTrackPointsDone().
2021-03-04 19:18:31 +01:00
Román Martínez
2f3d9a29f3
Fixed a bug: TrackDataHub will send to listeners all TrackPoints every time a change on trackpoints table was observed. Fixes #582 .
2021-01-30 23:15:54 +01:00
Dennis Guse
022d8146fe
TrackDataHub always sends via handler.
2021-01-24 22:21:37 +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
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
Román
679c1d7e3e
Intervals: TrackDataHub instead of ContentProvider. Fixes #453 .
2020-10-11 12:12:44 +02:00
Dennis Guse
9d6c9676ab
Refactoring to marker: content-package and fragments.
...
#389
2020-09-05 10:37:41 +02:00
Dennis Guse
74e09e1fa9
Refactoring to marker: data class and ContentProviderUtils.
...
#389
2020-09-05 10:20:16 +02:00
Dennis Guse
0ab14e0f3d
Implement Track.Id and Waypoint.Id (with tests).
...
Fixes #276 .
2020-08-22 23:18:48 +02:00
Dennis Guse
bcbaf4985a
Implement Track.Id and Waypoint.Id (without tests).
...
Fixes #276 .
2020-08-22 23:18:48 +02:00
Dennis Guse
a3ba1e1490
Cleanup: use lambda instead of runnable.
2020-06-09 23:01:09 +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
Dennis Guse
38a15a96b3
Cleanup.
2020-04-05 21:56:26 +02:00
Dennis Guse
46f8753746
Removed TrackDataType and simplified TrackDataManager.
2020-04-05 21:56:26 +02:00
Dennis Guse
70bc8f33b1
Do not expose TrackDataType to fragments.
2020-04-05 21:56:26 +02:00
Dennis Guse
6cd27ab096
Merged DataSourceManager into TrackDataHub.
2020-04-05 21:56:26 +02:00
Dennis Guse
5581b404f7
DataSourceManager now always registers for all changes.
2020-04-05 21:56:26 +02:00
Dennis Guse
2ef74eb908
Automated code cleanup using AndroidStudio.
2020-04-05 21:56:26 +02:00
Dennis Guse
dfc785f2fd
Simplified internal data processing (class structure).
2020-04-05 21:56:26 +02:00
Dennis Guse
a98c16de28
Removed TrackPointFactory.
...
New TrackPoints are now always created and old ones not reused.
2020-03-30 19:52:06 +02:00
Dennis Guse
194379295d
TrackPoint has Location as delegate instead of inheritance.
2020-03-30 19:52:06 +02:00
Dennis Guse
901cffee97
Use TrackPoint instead of Location (and omit casting).
2020-03-30 19:52:06 +02:00
Dennis Guse
b4d5eb0eec
Refactoring: SharedPreferences are not provided via DataSource anymore.
2020-01-11 19:31:58 +01:00
Dennis Guse
09fe35f1ca
Cleanup.
2020-01-11 19:31:58 +01:00
Dennis Guse
27e50b2dd9
Moved ContentProvider into separate package.
2020-01-11 19:31:58 +01:00
Dennis Guse
971460848b
Extracted LocationIterator from ContentProviderUtils.
...
Also refactored LocationFactory to TrackPointFactory.
2020-01-11 19:31:58 +01:00
Dennis Guse
12023d51ae
Move data classes into separate package.
2019-12-22 18:59:23 +01:00
Dennis Guse
ca330b2d80
Cleanup.
2019-12-15 21:28:03 +01:00
Dennis Guse
20f1524701
Cleanup.
2019-12-15 17:09:44 +01:00
Dennis Guse
8e2598e93b
Removed split markers.
2019-12-03 07:31:24 +01:00
Dennis Guse
d7526f93b8
Cleanup: removed ContentProviderUtils interface.
2019-11-25 23:02:48 +01:00
Dennis Guse
2a60aa8f59
Settings: removed some default definitions from code into xml.
2019-11-05 22:02:23 +01:00
Dennis Guse
353c958ae0
Moved accessing sharedPreferences into PreferencesUtils.
2019-11-03 01:44:46 +01:00
Dennis Guse
c93e5ca1a6
Settings: moved to Androidx Compat and use one screen only.
2019-10-12 18:00:51 +02:00
Dennis Guse
87d92d25f9
Cleanup: mainly code formatting and made LocationIterator implement autoclosable.
2019-09-08 12:39:40 +02:00
Dennis Guse
08825fcf04
Cleanup: typo.
2019-08-14 08:05:37 +02:00
Dennis Guse
233522a5e6
Rebranding to OpenTracks (code).
2019-07-26 18:39:35 +02:00