Commit Graph
100 Commits
Author SHA1 Message Date
Arjan SchrijverandAndreas Shimokawa cbb710abe7 Update changelog 2024-11-11 23:27:59 +01:00
Arjan Schrijver 5a0f1e46db Garmin Fenix 6S Pro: Initial support 2024-11-08 09:11:47 +01:00
Arjan Schrijver d5c2207a48 Colmi R0x: Improve sleep handling around DST changes 2024-10-28 11:41:31 +01:00
Arjan Schrijver d4033dbccb Colmi R0x: Fix HR database timestamps 2024-10-26 22:08:36 +02:00
Arjan Schrijver b2df6e58f0 Colmi R0x: Improve HR fetching accuracy
Hopefully fixes #4209
2024-10-23 21:35:48 +02:00
Arjan Schrijver 2618d54f94 Fix crash in LiveActivityFragment that was introduced by 2398dd0fb 2024-10-16 22:18:56 +02:00
Arjan Schrijver 25dc3f972b Colmi R0x: Add support for Colmi R10 2024-10-15 18:19:09 +02:00
Arjan Schrijver 2398dd0fbe Limit LiveActivityFragment to just the current device 2024-10-15 11:19:33 +02:00
Arjan SchrijverandRené Vögeli 4939de47c1 Colmi R0x: Add support for HRV 2024-10-13 17:29:43 +00:00
Arjan Schrijver f9150f4c2c Colmi R0x: Fix factory reset packet bytes 2024-10-10 10:16:09 +02:00
Arjan Schrijver 9abcb87f1f Colmi R0x: Normalize timestamps of all received health data
This fixes the duplicate samples reported in #4209, and possibly even
the originally reported issue of multiple days showing the same HR data
in the charts.
2024-10-08 16:34:18 +02:00
Arjan Schrijver 873a044a69 Colmi R0x: Increase logging of V2 packets 2024-10-08 13:17:58 +02:00
Arjan Schrijver ba3e60376d Colmi R0x: Add factory reset function 2024-10-08 13:17:19 +02:00
Arjan SchrijverandArjan Schrijver 52798393a4 Dashboard: Add option to show yesterday's data in Today widget 2024-09-30 13:08:51 +00:00
Arjan Schrijver 7d15859737 Colmi R0x: Fix sleep chart intensity 2024-09-29 23:13:09 +02:00
Arjan Schrijver c8c9772ac8 Colmi R0x: Support REM sleep and awake samples 2024-09-29 22:37:48 +02:00
Arjan Schrijver eb2b7fef41 Dashboard: Fix Today widget priority of AWAKE_SLEEP and NOT_MEASURED 2024-09-29 22:17:11 +02:00
Arjan Schrijver e8c295df51 Colmi R0x: Fix sleep gap at midnight in dashboard today widget 2024-09-09 22:05:02 +02:00
Arjan Schrijver b5104dd9ca Dashboard: Fix worn in Today widget when devices measure HR less than every minute 2024-09-02 20:38:49 +02:00
Arjan Schrijver e23caa3ee6 Add support for Colmi R02/R03/R06 smart rings 2024-08-23 23:47:34 +02:00
Arjan Schrijver 00298cc5a0 Remove wrongly added return statement 2024-07-15 22:18:37 +02:00
Arjan Schrijver a89b6f0006 Fix emojis converted to ASCII in case of multiple devices
The original code modified the incoming intent in case a device without
unicode emoji support is encountered or a transliterator is enabled for
that device. When multiple devices are connected, this causes later
devices that do support unicode emojis to also receive the
transliterated text instead of the original text.
2024-07-15 11:15:14 +02:00
Arjan Schrijver c9326ca447 Fossil HR: Bump watchface version after fixes 2024-07-09 09:35:44 +02:00
Arjan SchrijverandJosé Rebelo fad092b6f8 Bump targetSdkVersion to 34 2024-07-08 22:16:15 +00:00
Arjan Schrijver 39708e5fb6 Change device icons to use theme colors
Fixes #3845
2024-06-30 17:38:31 +02:00
Arjan Schrijver 698469ae75 Test Device: Make activity data more realistic 2024-06-19 21:53:43 +02:00
Arjan Schrijver bad29bbeb8 Dashboard: Add monthly goals indicator and legend to calendar view 2024-06-16 23:36:19 +02:00
Arjan Schrijver d9863786de Dashboard: Use more intuitive time markings in today widget
Fixes #3717
2024-05-13 21:07:43 +02:00
Arjan Schrijver f186053dab Dashboard: Add preference for drawing midnight at bottom of 24h chart 2024-04-18 20:06:56 +02:00
Arjan Schrijver a2c861f66c Add preference for hiding bottom navigation bar 2024-04-17 21:58:23 +02:00
Arjan SchrijverandJosé Rebelo 523d02ae7f Generalize auto-pickup and read-notifications-aloud features 2024-04-13 14:10:54 +00:00
Arjan Schrijver cd8e9b5ea6 Dashboard: Fix crash on start when Devices is first screen 2024-04-10 22:11:45 +02:00
Arjan Schrijver 6f103b2897 Dashboard: Implement horizontal swiping and fix fragment related crashes 2024-04-10 21:53:03 +02:00
Arjan Schrijver 065f8cdaa7 Fix DeviceService not starting when the dashboard is the initial screen 2024-04-09 10:46:11 +02:00
Arjan Schrijver 50c7520349 Dashboard: Material 3 month changing buttons in calendar 2024-04-09 09:34:58 +02:00
Arjan SchrijverandArjan Schrijver 8ce0983cb4 Galaxy Buds Live: Update device settings to new structure 2024-04-09 06:55:53 +00:00
Arjan SchrijverandArjan Schrijver cb13c7bc05 Fossil/Skagen Hybrids: Update device settings to new structure 2024-04-09 06:55:53 +00:00
Arjan Schrijver a34964e712 Dashboard: Material 3 day changing buttons 2024-04-06 21:26:43 +02:00
Arjan SchrijverandArjan Schrijver 43fddd0110 Dashboard view (#3478)
This adds a new dashboard-type view to Gadgetbridge. The new dashboard activity displays several widgets with aggregated statistics from multiple devices. New preferences are added to allow configuration of the dashboard and its widgets. A new bottom navigation bar is added to switch between the Dashboard and Devices views.

Some issues that prompted this feature and provided inspiration for the implementation:
- https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/301 (More Intuitive User Interface)
- https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/3074 (Ability to merge historical data from several devices)

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3478
Reviewed-by: José Rebelo <joserebelo@noreply.codeberg.org>
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Co-committed-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
2024-04-04 19:28:04 +00:00
Arjan Schrijver 08a8b6a8fd Fossil/Skagen Hybrids: Remove activity fetching toasts and add finished signal 2024-02-27 14:36:28 +01:00
Arjan Schrijver 0383169767 Fossil/Skagen Hybrids: While syncing, mark device busy and show transfer notification 2024-02-23 20:59:01 +01:00
Arjan Schrijver 28e0914330 Fossil/Skagen Hybrids: Use steps instead of calories for activity intensity 2024-02-23 20:54:49 +01:00
Arjan Schrijver 7eb11249b9 Update linter baseline 2024-02-19 12:14:36 +01:00
Arjan Schrijver 122ff5f7f4 Fossil/Skagen Hybrids: Fix crash on multi-byte unicode characters in menu
The FosslAppWriter was writing string length instead of the bytes length
into the wapp file, causing a crash when reading the file.

Fixes #3577
2024-02-17 21:25:25 +01:00
Arjan Schrijver d637b9263c Fix linter errors 2024-02-13 10:54:12 +01:00
Arjan Schrijver 8aaa766dcd Fix crash when receiving empty music state 2024-02-04 20:35:40 +01:00
Arjan Schrijver 9c619c6c7c Fossil/Skagen Hybrids: Make navigation options texts translatable 2023-12-23 22:13:36 +01:00
Arjan Schrijver 7aeb0dd2ef Fossil/Skagen Hybrids: Update navigationApp to 1.1
Changes:
- Support locking (keep visible and let hands display time)
- Support merge navigation instruction
- Support wrist flick gesture to move hands
- Support GB-configurable foreground and vibration behaviour
2023-12-23 22:05:51 +01:00
Arjan Schrijver 4c0750e75a Add missing navigation actions to GMaps handler 2023-12-21 11:16:23 +01:00
Arjan Schrijver 730841e9a1 Convert last remaining Switches to MaterialSwitch
Fixes #3454
2023-12-14 13:24:04 +01:00
Arjan Schrijver fac566c7da Support selecting enabled navigation apps 2023-11-23 22:57:34 +01:00
Arjan Schrijver 70acf47a2e Make GMaps navigation handler follow the "navigation forwarding" setting 2023-11-23 22:37:24 +01:00
Arjan Schrijver 8add6c4da9 Autodetect OsmAnd package name and make it configurable 2023-11-23 22:33:12 +01:00
Arjan Schrijver 3d543db24f Fossil/Skagen Hybrids: Update navigationApp to version 1.0 2023-11-02 16:33:21 +01:00
Arjan Schrijver a0e6085324 Fossil/Skagen Hybrids: Allow configuring call rejection method 2023-10-20 10:50:25 +02:00
Arjan Schrijver 59dafc54b6 Fossil/Skagen Hybrids: Show device specific settings in more logical order 2023-10-18 22:39:13 +02:00
Arjan SchrijverandArjan Schrijver 88341c8b86 Fossil/Skagen Hybrids: Add new navigation app 2023-10-18 13:06:16 +00:00
Arjan Schrijver 69fcec059d Replace old-style preference switch with Material 3 switch 2023-10-09 09:53:36 +02:00
Arjan Schrijver 9caab24c39 Add some space between buttons in Data Management and Debug 2023-10-09 09:53:36 +02:00
Arjan Schrijver 8cf8ca7395 Update dependencies 2023-10-09 09:53:36 +02:00
Arjan Schrijver b8912976f1 Fossil/Skagen Hybrids: Show some toasts only on debug builds 2023-09-18 22:32:02 +02:00
Arjan SchrijverandArjan Schrijver 557bfea35c Add lint baseline, enable linting on CI, fix some reported errors (#3291)
This PR:
- fixes some errors reported by `gradlew lint` and the Android Studio "Code Inspection" tool
- adds a snapshot file `lint-baseline.xml` of the remaining lint errors and warnings to be used by the linter as baseline
- adds a job for CI to run `gradlew lint` on every build

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3291
Reviewed-by: José Rebelo <joserebelo@noreply.codeberg.org>
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Co-committed-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
2023-09-11 09:17:04 +00:00
Arjan Schrijver 9c5cba68dd Update changelog 2023-08-28 12:07:52 +02:00
Arjan SchrijverandArjan Schrijver d10745b0b3 Add getLocation method to WeatherSpec and use it for Zepp OS and Fossil/Skagen 2023-08-27 20:19:15 +00:00
Arjan Schrijver 7c55f5df86 Upgrade cached weather old style dialog to Material 3 dialog 2023-08-20 22:20:14 +02:00
Arjan Schrijver 56be4c7bee Add explanation for dynamic colors theme 2023-08-12 11:47:17 +02:00
Arjan Schrijver c9bbc05674 Show warning when choosing dynamic theme but dynamic colors are not supported by Android 2023-08-12 10:52:12 +02:00
Arjan SchrijverandArjan Schrijver 69ae4ed1c4 Fix highlight color of pressed controls (like preferences) 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver 2667ede174 Fix action overflow menu color 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver ee4f3fabcf Fix widget device choice dialog behaviour 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver d46ed71a46 Remove undefined text color from notification app list 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver 225d466a7b Make widgets configuration activities adhere to configured style 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver cc70a8dd0a Fix "found my phone" button size and make it translatable 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver d2d54eba17 Add small margin to activity date selection buttons 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver d913dc5634 Fix action menu and overflow menu icons colors 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver 73f949fc8c Upgrade remaining CardViews to MaterialCardView 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver fa20d04ff4 Fix action menu icons color 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver 3b06821114 Fix drawer and dialog color tinting and drawer title color 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver b0aecf6cbe Fix cards background color 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver ed83071c33 Fix charts activity button alignment 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver eb896dcd57 Fix preference input type enforcement 2023-08-08 08:47:26 +00:00
Arjan SchrijverandArjan Schrijver b6e252c4c1 Switch UI to Material 3 and support dynamic colors 2023-08-08 08:47:26 +00:00
Arjan Schrijver 5a1e56a81e Fossil/Skagen Hybrids: Fix unused alarms being pushed to the device 2023-08-07 15:27:25 +02:00
Arjan Schrijver e305a9133f Fossil/Skagen Hybrids: Add input types to watchface/widget settings 2023-07-31 21:31:42 +02:00
Arjan Schrijver f58c655449 Fossil/Skagen Hybrids: Strip unicode characters that the watch can't display 2023-07-22 12:13:25 +02:00
Arjan Schrijver 7c5cd4c032 Fossil/Skagen Hybrids: Increase accuracy of workout distance calculation 2023-06-19 15:57:09 +02:00
Arjan Schrijver a5868f8f00 Fossil/Skagen Hybrids: Update UV index and chance of rain widgets on weather updates 2023-06-19 14:26:30 +02:00
Arjan Schrijver 2081463a4f Fossil/Skagen Hybrids: Add UV index and chance of rain widgets
Note: this needs support from weather apps, for example:
https://github.com/TylerWilliamson/QuickWeather/pull/69
2023-06-18 22:11:07 +02:00
Arjan Schrijver ff563022f5 Fossil/Skagen Hybrids: Fix weather icons day/night status 2023-06-17 22:54:41 +02:00
Arjan SchrijverandArjan Schrijver 0b241af8e7 Force FlattenToAsciiTransliterator to return only ASCII 2023-06-09 10:13:10 +00:00
Arjan Schrijver 0bba156bec Deduplicate icon retrieval code 2023-05-17 14:09:17 +02:00
Arjan Schrijver f727f2fdcb Fossil/Skagen Hybrids: Pair watch to phone, fixes repeating confirmation request 2023-05-08 22:44:43 +02:00
Arjan Schrijver b892748b15 Cache notifications while devices are out of range (opt-in) 2023-04-05 11:11:23 +02:00
Arjan Schrijver cbf98b9308 Fossil/Skagen Hybrids: Remove useless and annoying debug message 2023-02-11 21:02:24 +01:00
Arjan Schrijver 810cc91e8e Fossil/Skagen Hybrids: Implement inactivity warnings 2023-02-06 14:26:26 +01:00
Arjan Schrijver 5ea68cad3b Fossil/Skagen Hybrids: Rewrite configuration of automatic workout detection
Fixes #2514
2023-02-06 14:22:40 +01:00
Arjan Schrijver 14f05a7cf6 Fossil/Skagen Hybrids: Fix crash on empty or multi-byte unicode alarm texts
Fixes #3024
2023-02-05 14:35:01 +01:00
Arjan Schrijver 9b4f909ace Fossil/Skagen Hybrids: Update known watch app versions 2023-01-27 21:19:25 +01:00
Arjan Schrijver 845887ddeb Fossil/Skagen Hybrids: Add app/watchface downloading from watch to app manager 2023-01-07 23:07:34 +01:00
Arjan Schrijver b1d03e9f7a Clean up duplicated unimplemented methods from device support classes
Moved to AbstractDeviceSupport so each device support class can override them if required. This change helps to keep the code base clean by not requiring every (Device)Support class to implement these methods even when they don't need them.
2023-01-05 22:11:32 +01:00