Dennis Guse
f128111650
Code cleanup.
2020-09-05 01:19:59 +02:00
Dennis Guse
38fadda762
Bugfix: show on map via GPX/KML/KMZ was failing.
...
We were sending the trackId as intent extra (actually unused) and this trackId could not be unparceled.
Fixes #411 .
2020-09-05 01:19:59 +02:00
Dennis Guse
d6d40b01e6
Refactoring.
...
Also fixes #406 .
2020-09-05 01:17:40 +02:00
Román
b88f81726b
Bugfix: location handler didn't remove updates. Fixes #403 .
2020-09-03 15:32:44 +02:00
Dennis Guse
24e6cdec62
Interval Stats: fixed NPE introduced in 25ef0ecad1.
...
Includes some refactoring.
2020-09-02 23:12:52 +02:00
Román
89c44af374
Recorded stats: natural order for intervals.
2020-09-02 14:32:32 +02:00
Dennis Guse
25ef0ecad1
Interval Stats: use a tab for recorded tracks as well.
2020-09-02 07:52:33 +02:00
Román
efa6caca66
New style for spinner with text.
2020-09-02 07:52:33 +02:00
Román
5be4c107f4
Announcement: while recording report current interval pace or speed.
...
Fixes #134 .
2020-09-02 07:52:33 +02:00
Román
65f42dd3e5
Interval Stats: improve code and fixed some UI issues.
2020-09-02 07:52:33 +02:00
Román
287d246777
Interval Stats: track's id it's not long anymore.
2020-09-02 07:52:33 +02:00
Román
d56f652d0a
Interval stats: while user is recording a track intervals are refreshed every 5 seconds.
...
Interval stats: completed the list of split intervals: 1, 2, 3, 4, 5, 10, 20 or 50 km or mi.
Fixes #87 .
2020-09-02 07:52:33 +02:00
Román
1f1ef4445f
Interval stats: added IntervalStatisticsTest.
2020-09-02 07:52:33 +02:00
Román
22a669a573
Interval stats: added a new tab in TrackRecordingActivity that shows the intervals on live.
2020-09-02 07:52:33 +02:00
Román
f55cce5614
Interval stats: improve code.
2020-09-02 07:52:33 +02:00
Román
a6c3cf1c28
Interval statistics: listen preferred units change (metric/imperial) and recreate intervals.
2020-09-02 07:52:33 +02:00
Román
cbc803d038
Interval statistics: retain interval value after change orientation and recreation.
2020-09-02 07:52:33 +02:00
Román
a8cefcd0fd
Interval statistics: show accumulate in distance column.
2020-09-02 07:52:33 +02:00
Román
2b95dbab22
Adjusted intervals.
2020-09-02 07:52:33 +02:00
Román
7a923a947e
Added intervals in StatisticsRecordedFragment with distance, speed and pace for all activity types.
...
Users can select the length of the interval (in a spinner with several options).
The intervals will be in km or mi depending on settings.
2020-09-02 07:52:33 +02:00
Román
19e35a7609
StatisticsRecordedFragment doesn't need TrackDataHub.
...
TrackRecordedActivity saves Track object instead of track's id.
2020-09-02 07:52:33 +02:00
Dennis Guse
b8088169ee
Settings: animate the Bluetooth icon.
...
Fixes #314 .
2020-09-01 22:19:19 +02:00
Román
a733d87c37
Bugfix: export all failed trying to convert to string the Track.Id.
2020-08-31 12:25:58 +02:00
Peter Storch
24ff73ab06
Fix force close on stop button for older devices ( #393 )
...
* correct thread handling in ButtonDelay
Discovered in #390 for devices with API Level 25. Not fixing the whole issue, but a first step.
* fix #390 crash when stopping for older devices
The VectorDrawable ic_button_stop.xml referenced from withing the AnimatedVectorDrawable ic_button_stop_anim.xml was a problem for older devices. Now the VectorDrawable is expanded (duplicated) inside the AnimatedVectorDrawable. Now it is working. Even with the animation.
2020-08-27 08:11:10 +02:00
Dennis Guse
60d5e7e515
Reset recordingTrackId on application Startup.
...
This is necessary if the TrackRecordingService crashed.
2020-08-23 17:36:30 +02:00
Dennis Guse
c610758ae1
Move CursorLoader to ContentProviderUtils.
2020-08-23 00:09:02 +02:00
Dennis Guse
17d2755844
Bugfix: MarkerDetailActivity: compare waypointId properly using equals.
...
Introduced in bcbaf4985a
2020-08-23 00:08:58 +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
b2e8713db0
Desugar: removed manual date parsing on API26.
2020-08-21 07:01:16 +02:00
Román
75043325ff
Fix comment.
2020-08-19 22:04:40 +02:00
Román
1ff986f1e6
Gps Status: bugfixes.
...
Bugfix 1: race condition issue fixed with a flag.
Bugfix 2: location time issue fixed setting the time every time a location is received.
2020-08-19 14:02:47 +02:00
thrillfall
6412bb9fcd
remove useless parameter
2020-08-18 16:37:44 +02:00
thrillfall
8425997c29
add overload for exporter that takes single track
2020-08-18 16:37:44 +02:00
thrillfall
f4b585b830
do not pass complete track data to exporter factory method just to knwo if there is more then one track to export
2020-08-18 16:37:44 +02:00
thrillfall
47c259fa9a
move tracks array from class state to method argument
2020-08-18 16:37:44 +02:00
thrillfall
80208e3188
move condition for writing multitrack begin and end outside of methods
2020-08-18 16:37:44 +02:00
thrillfall
2655d3e773
fix decorator TrackExporter interface
2020-08-18 16:37:44 +02:00
Dennis Guse
6a397922d2
Cleanup using IntelliJ's analyze code.
2020-08-16 20:13:09 +02:00
Dennis Guse
ee062f8a38
Cleanup.
2020-08-16 20:13:09 +02:00
Dennis Guse
c8bdf8e641
Wheel circumference is now a textfield accepting input as mm.
...
Fixes #278 .
2020-08-16 20:12:20 +02:00
Román
32d811b46e
Bugfix: NPE fixed because listeners/client were null in some cases.
...
TrackRecordingService: before destroying it sends GPS Status NONE to all listeners.
Cleanup Logs used for debugging.
2020-08-16 07:27:44 +02:00
Román
80a8017a18
GPS Status: animation icon for ready but not fixed status (GPS bad signal).
2020-08-16 07:27:44 +02:00
Román
2b90bfd054
ServiceUtils deleted because it doesn't need anymore.
...
It uses gps status received from service.
2020-08-16 07:27:44 +02:00
Román
8cb6d63abe
Cleanup and rename.
2020-08-16 07:27:44 +02:00
Román
9837680540
GPS Status: TrackListActivity uses the value of gps status from the service to select appropiate icon.
2020-08-16 07:27:44 +02:00
Román
e2b741dd08
Added GPS Status to the service so activities can access to the GPS Status.
2020-08-16 07:27:44 +02:00
Peter Storch
18546fd3cc
fix #241 stop button lock ( #362 )
...
* fix #241 stop button lock
Adds a delay and animation to the stop and pause buttons
- short vibration when starting to push the buttons
- long vibration when action was executed
- Toast to show "Hold to stop/pause recording"
2020-08-15 21:50:06 +02:00
Dennis Guse
a87d2e5b09
Bugfix: prevent NPE.
...
Fixes #374 .
2020-08-15 21:23:14 +02:00
Dennis Guse
3ae30e2468
Settings: do prevent import of already existing tracks by default.
2020-08-15 21:12:10 +02:00