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
f821c8ba86
Fixed tests.
2020-08-15 21:12:10 +02:00
Dennis Guse
5c96774e79
ContentProvider can now lookup tracks via UUID.
2020-08-15 21:12:10 +02:00
Dennis Guse
c26a5edc03
Make track import behavior on duplicate UUID configurable (default: import with a new UUID).
2020-08-15 21:12:10 +02:00
Dennis Guse
f8afa9dbad
Import/export track UUID (necessary for synchronization).
...
If a track with a UUID is presented in OpenTracks, it cannot be imported again (enforced by database constraint).
Fixes #307 .
2020-08-15 21:12:10 +02:00
Dennis Guse
db1167ead5
Find track by UUID.
2020-08-15 21:12:10 +02:00
Dennis Guse
59d4bfa4ac
Export KML: report OpenTracks as generator.
2020-08-15 21:12:10 +02:00
Dennis Guse
04f146c641
Bugfix: formatting of pace was not formatted correctly (e.g., 4:60).
...
Fixes #370 .
2020-08-15 20:19:46 +02:00
Dennis Guse
ea97ff65df
MarkerEditActivity: fixed NPE on orientation change.
2020-08-15 09:12:19 +02:00
Peter Storch
9827b3fc92
fix #371 mountain bike icon not shown
2020-08-12 20:53:58 +02:00
Dennis Guse
b676fd6614
SearchEngineTest: do not use production database.
...
Partly fixes #143 .
2020-08-10 15:39:53 +02:00
Peter Storch
9ba1357dbb
added new activity types ( #360 )
...
* added new activity types
- escooter
- inline_skating
- motorbike
- skate_boarding
- skiing
- snowboarding
- climbing
- sailing
- mtb
2020-08-08 12:38:51 +02:00
Dennis Guse
7787dae9f6
Bluetooth preference use vector icon.
2020-08-06 12:34:01 +02:00
Dennis Guse
cf45a8079c
Simplified getting the BluetoothAdapter.
2020-08-04 22:56:35 +02:00
Dennis Guse
1d2fde6e69
DashboardAPI: report if track is recording and start Dashboard on same task.
...
Necessary for Picture-in-Picture mode.
2020-08-03 07:59:17 +02:00
Dennis Guse
20423121ee
Dashboard API: only forward fullscreen setting, when recording.
2020-08-03 07:59:17 +02:00
Dennis Guse
ebf7b0a0c3
TrackRecordingActivity: added setting for fullscreen.
...
Fixes #342 .
2020-08-03 07:59:17 +02:00
Román
63e9041922
Orientation change when edit marker has to update photo uri in waypoint for delete button update (hide/show).
2020-07-31 20:29:56 +02:00
Dennis Guse
065f42fbef
GPX import/export: speed via TrackPointExtension/v2.
...
Fixed data type for heartrate/speed (no decimals) allowed.
Fixes #335 .
Fixes #181 .
GPXTrackWriter: set Trackpointv2 header correctly and export time in correct sequence.
2020-07-24 22:06:58 +02:00
ronajon
c92371b36a
GPX import/export: add heartrate and cadence via TrackPointExtension/v1.
2020-07-24 22:06:58 +02:00
Dennis Guse
97c46183c3
TrackRecordingServiceConnection: always bind (and start) the TrackRecordingService.
...
Seemed to be a memory optimization.
2020-07-21 19:44:39 +02:00
Dennis Guse
c02b8fab53
HandlerServer: use executor service to send data to TrackRecordingService.
...
Fixes #329 .
2020-07-21 19:43:51 +02:00
Dennis Guse
6540913d59
Moved R.string.stats_unit_key initialization into Startup.
2020-07-20 20:46:41 +02:00
Dennis Guse
b70c3be5af
Cleanup: static code analysis using AndroidStudio.
2020-07-20 20:05:45 +02:00
Dennis Guse
461f1c246b
MarkerEditActivity: do not overwrite new photoUri with previous one. ( #332 )
...
Fixes #330 .
Tested and it works 👍
2020-07-20 19:30:23 +02:00
Dennis Guse
6d091dfa81
Fixes NPE on MarkerEditActivity when taking a photo and trigger an orientation change. ( #327 )
...
Fixes #325 .
2020-07-18 22:52:19 +02:00
Peter Storch
97ad6bc2f8
expose waypoints to dashboard
...
Necessary for https://github.com/OpenTracksApp/OSMDashboard/issues/48
2020-07-18 18:56:53 +02:00
Dennis Guse
bf9b6d6627
Import: individual files chosen by an external app.
2020-07-18 18:55:30 +02:00
Dennis Guse
5f637952aa
Replaced blue pushpin icon (png) with with orange icon (svg).
...
Fixes #115 .
2020-07-18 18:51:34 +02:00
Román Martínez
17de8cea6f
Service refactoring: move location management to the LocationHandle.
...
Tests refactoring: location and service tests re-worked.
2020-07-17 12:29:30 +02:00
Román
b8d2d14d68
Preferred rate is used for aggregated stats. Fixes #321 .
...
Lambda expression for Observer.
2020-07-15 21:43:55 +02:00