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
e133743547
Actionbar: icon provides back functionality (except in TrackListActivity).
2020-12-17 18:56:42 +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
b2df79caf2
fix #516 post workout export fails silently ( #520 )
...
Change the post workout export to use the ExportService (JobIntentService) and directing the user to the SettingsActivity in case the export failed to check the export directory.
2020-11-20 20:59:52 +01:00
Dennis Guse
634a7a4321
Bluetooth Sensor: add cycling powermeter.
2020-11-11 21:08:39 +01:00
Dennis Guse
3a8f3e46c7
Refactor post-workout export.
2020-10-16 12:23:39 +02:00
thrillfall
b270c45691
- add default export directory
...
- add instant post workout track export
2020-10-16 12:23:39 +02:00
Dennis Guse
4150d060ee
Theming: enable day/night mode incl. app-wide setting.
2020-09-23 07:36:15 +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
Dennis Guse
cf45a8079c
Simplified getting the BluetoothAdapter.
2020-08-04 22:56:35 +02:00
Dennis Guse
b70c3be5af
Cleanup: static code analysis using AndroidStudio.
2020-07-20 20:05:45 +02:00
Dennis Guse
a3ba1e1490
Cleanup: use lambda instead of runnable.
2020-06-09 23:01:09 +02:00
Dennis Guse
0dfd55ed52
Settings: added default sharing track file format.
...
Fixes #225 .
2020-05-24 10:58:43 +02:00
Dennis Guse
ddb17f61cb
Bluetooth LE: implemented cycling cadence and speed sensors.
...
Cadence is working while speed still requires the wheel size.
2020-04-27 07:17:46 +02:00
Dennis Guse
dfc3837739
Settings: PrefsFragment could not be re-created. Fixes #179 .
2020-04-08 08:10:46 +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
b4d5eb0eec
Refactoring: SharedPreferences are not provided via DataSource anymore.
2020-01-11 19:31:58 +01:00
Dennis Guse
a683fbac4b
Device reboot: do not restart a not successfully ended track recording.
2019-12-11 23:05:31 +01:00
Dennis Guse
64ad9019d1
ChartView: is not configurable anymore.
2019-12-11 23:05:31 +01:00
Dennis Guse
8e2598e93b
Removed split markers.
2019-12-03 07:31:24 +01:00
Dennis Guse
3e40209d15
Refactoring.
2019-11-19 08:00:12 +01:00
Dennis Guse
54ff94f905
Settings: renamed Bluetooth sensor to "Heart rate".
2019-11-18 17:16:50 +01:00
Dennis Guse
7a4faf6b0d
Fixed SettingsActivity.
2019-11-18 17:13:42 +01:00
Dennis Guse
e7a8c897a3
Settings: scan for Bluetooth sensors rather than using bonded devices.
...
Bonded devices do no provide information what services (e.g., heart rate) they support.
2019-11-17 18:24:02 +01:00
Dennis Guse
2940bf20d8
Settings: remove all defaults from code.
2019-11-12 21:33:04 +01:00
Dennis Guse
92d3439c3b
Re-enable SummaryProvider for default_activity.
2019-11-08 07:58:30 +01:00
Dennis Guse
e14e53c0ae
Fix hack to update summary of statsRate if statsUnit change.
2019-11-07 23:32:28 +01:00
Dennis Guse
77a6a63174
Re-initialize PreferenceFragment, when sharedpreferences were reset.
2019-11-07 22:24:15 +01:00
Dennis Guse
40f2463f09
Fail safety: if settings cannot loaded (invalid data in sharedpreferences), reset it and try again.
2019-11-07 19:15:17 +01:00
Dennis Guse
57f66b77ab
Reorganized settings (sharedpreferences and keys); xml only.
2019-11-05 21:13:51 +01:00
Dennis Guse
353c958ae0
Moved accessing sharedPreferences into PreferencesUtils.
2019-11-03 01:44:46 +01:00
Dennis Guse
dd55b50dad
Re-added actionbar (actually toolbar) to SettingsActivity.
2019-10-21 22:54:23 +02:00
Dennis Guse
024dd603cb
Migration to Androidx PreferenceCompat.
2019-10-17 06:00:47 +02:00
Dennis Guse
8c9bf60fc6
Update Settings if the units (metric/imperial) are changed.
2019-10-15 17:29:59 +02:00
Dennis Guse
c93e5ca1a6
Settings: moved to Androidx Compat and use one screen only.
2019-10-12 18:00:51 +02:00
Dennis Guse
c2841092da
Settings: moved setup into helper.
2019-09-19 22:30:28 +02:00
Dennis Guse
4edad610ee
Moved SensorSettingsActivity into SettingsActivity.
2019-08-06 20:07:22 +02:00
Dennis Guse
fda95bbec9
Integrated ChartSettingsActivity in SettingsActivity.
2019-08-06 19:52:57 +02:00
Dennis Guse
1028e09888
Removed actionbar back button.
...
It was complicating the code base too much.
2019-08-06 19:46:01 +02:00
Dennis Guse
4abd07694c
Use a custom dialog to reset preferences.
2019-08-06 19:08:11 +02:00
Dennis Guse
233522a5e6
Rebranding to OpenTracks (code).
2019-07-26 18:39:35 +02:00