Dennis Guse
f8f78d28dd
TrackStatistics: merge previous segment whenever a new starts/ends.
2021-01-24 22:21:37 +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
e0553f812f
Import: segments might contain no TrackPoints.
...
#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
c3741611dc
TrackStatisticsUpdater updates only by adding 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
022d8146fe
TrackDataHub always sends via handler.
2021-01-24 22:21:37 +01:00
Dennis Guse
912fd1aa2f
TrackStatistics startTime/stopTime is null on creation.
2021-01-24 22:21:36 +01:00
Dennis Guse
1d46981717
Cleanup.
2021-01-24 22:21:36 +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
3bbcbfe202
Dashboard API: send protocol version v2.
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
f635d56ceb
Cleanup.
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
47b2d0748a
Segments: only insert one trackpoint and set the type.
...
Existing data is not migrated.
#316 .
2021-01-24 22:21:36 +01:00
Dennis Guse
bc66cd33a9
Use system time instead of GPS-provided time.
...
#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
393e2022a1
Bugfix: database downgrade from 30 to 29 removed required elevation_gain column.
2021-01-24 22:06:48 +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
Román Martínez
8a08e7b2b5
Creates thumbnail from marker's photos for marker's list.
...
These thumbnails are created and loaded async using cache from free memory available.
Fixes #545 .
2021-01-24 17:43:18 +01:00
Dennis Guse
80b26f2a04
MarkerDetail accepts Marker.Id also as long.
...
Fixes #567 .
2021-01-17 17:54:07 +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
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
Dennis Guse
ccd93dd17d
Track.Id must now always be valid (if present).
2021-01-10 20:25:59 +01:00
Dennis Guse
f4fe1d8d97
Marker.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
Dennis Guse
eb02c4c469
Marker images can now be shared from the list directly via the context menu (like tracks).
...
Fixes #495 .
2020-12-25 18:36:41 +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
19a7ef3217
Activity icon now properly tint'ed in detail activity.
2020-12-19 18:29:34 +01:00
Dennis Guse
2fa8b998f9
Code cleanup using AndroidStudio's analyze feature.
2020-12-17 19:59:53 +01:00
Román Martínez
99847dbed9
Just tiny changes.
2020-12-17 19:15:35 +01:00
Román Martínez
483736637e
Refactoring MarkerEditActivity. Logic has been moved to a ViewModel.
2020-12-17 19:15:35 +01:00
Dennis Guse
e133743547
Actionbar: icon provides back functionality (except in TrackListActivity).
2020-12-17 18:56:42 +01:00
Dennis Guse
eb2c2b4d78
As of ADT 14 as well as Gradle Plugin 5.0 those are not final anymore.
...
Fixes #544 .
Missed in 1862e38a20
2020-12-15 23:36:03 +01:00
Dennis Guse
1409537e56
AggregatedStatistics: fixed ViewHolder pattern.
2020-12-15 22:53:52 +01:00
Dennis Guse
5675dc800d
Aggregated stats: ordered by number number of tracks per category.
2020-12-13 22:44:44 +01:00
Dennis Guse
55fa6d2d79
Code cleanup using AndroidStudio.
2020-12-13 18:05:08 +01:00
Dennis Guse
96371336f4
MarkerDetailFragment: load markerId once in onCreate().
2020-12-13 17:12:03 +01:00
Dennis Guse
1862e38a20
Compare resourceIds via if rather than switch.
...
As of ADT 14 as well as Gradle Plugin 5.0 those are not final anymore.
Fixes #544 .
2020-12-12 22:14:51 +01:00
Dennis Guse
eb79f2277a
ChartView let's parent handle TouchEvents if not zoomed.
2020-12-06 22:35:44 +01:00
Román Martínez
ae8833d21b
ViewPager migrate to ViewPager2. Fixes #522 .
...
Swiping between tabs work. Fixes #105 .
2020-12-06 22:35:44 +01:00
Dennis Guse
e8017a4e9d
Bugfix: In preferences, the Bluetooth search icon was only animated after opening the dialog a 2nd time.
2020-12-06 00:09:24 +01:00
Dennis Guse
cea180f871
Code cleanup using AndroidStudio's Analyze feature.
2020-12-05 23:22:15 +01:00
Dennis Guse
be1b6ece9d
IntervalsFragment: generate UI values from strings.xml (i18n).
2020-12-05 23:11:29 +01:00
Dennis Guse
18bc100d5a
BLE sensors: Miband3's is now considered a heart rate sensor during discovery.
...
Some BLE devices do not announce all there supported services in the BLE advertisement packages.
Android's ScanFilter decides based upon this information only.
When connecting to such a device (and trigger service discovery), the service can still be used.
Fixes #447 .
2020-12-05 12:36:57 +01:00
Peter Storch
4476a15558
throw Exception when no doc.kml file found in kmz
2020-11-29 13:56:22 +01:00