Commit Graph
100 Commits
Author SHA1 Message Date
Arjan Schrijver 0a0fba4179 Colmi R12: Fix bluetooth name 2025-05-26 08:53:27 +02:00
Arjan Schrijver 43b30d36f6 Colmi R0x: Add support for R12 and display preferences 2025-04-24 21:16:07 +02:00
Arjan Schrijver 0fc1c7b2b6 Fix app crash when switching between Android user profiles 2025-03-05 21:07:37 +01:00
Arjan Schrijver 7141e2d592 Fossil/Skagen Hybrids: Fix hidden upload button in app manager
This fixes a regression for these devices that was introduced in feb5134b5
2025-03-04 09:27:14 +01:00
Arjan Schrijver 790e81a6f6 Add disabling battery optimizations to permissions screen 2025-01-06 09:18:18 +01:00
Arjan Schrijver 43a1613f95 Colmi R09: Add preference to toggle temperature measurements 2025-01-02 22:43:34 +01:00
Arjan Schrijver 603f9421d0 Colmi R09: Fix temperature byte conversion 2025-01-02 21:34:02 +01:00
Arjan Schrijver af10677157 Colmi R09: Do not try to parse temperature packets without data 2025-01-02 16:58:07 +01:00
Arjan Schrijver a02f5aaf82 Colmi R09: Add support for temperature data 2024-12-23 21:15:05 +01:00
Arjan Schrijver 7ff1e87ea8 About screen: Copy build details on tap 2024-12-21 23:07:50 +01:00
Arjan Schrijver 2ec37fa77a Dashboard: Make today widget data loading more efficient 2024-12-18 23:30:59 +01:00
Arjan Schrijver c918765931 Fix app crash when switching between Android user profiles 2024-12-13 21:38:38 +01:00
Arjan Schrijver 368cd88146 Colmi R0x: Add support for Colmi R09 2024-12-04 16:08:35 +01:00
Arjan Schrijver 98e9a0dbf0 Fossil/Skagen Gen. 6 Hybrids: Add SpO2 watchface widget 2024-12-04 14:34:39 +01:00
Arjan Schrijver 6f8fbd9b3c Add buttons to DebugActivity for Welcome and Permissions 2024-11-24 21:14:23 +01:00
Arjan Schrijver 765e6950dc Add preference migration for existing users 2024-11-24 21:14:23 +01:00
Arjan Schrijver fc4fea35cd Scroll Notification and Overlay permissions screens to GB automatically 2024-11-24 21:14:22 +01:00
Arjan Schrijver 77d0d545c8 Make strings translatable 2024-11-24 21:14:22 +01:00
Arjan Schrijver 11f38aff15 Remove option to start first run screens from preferences 2024-11-24 21:14:22 +01:00
Arjan Schrijver 79a846a907 Add theme selector to first screen 2024-11-24 21:14:22 +01:00
Arjan Schrijver 20d6c87dd8 Improve background location permission request flow 2024-11-24 21:14:22 +01:00
Arjan Schrijver 20eb4bc922 Fix permissions list left margin 2024-11-24 21:14:22 +01:00
Arjan Schrijver 5a3bc94f86 Hide Permissions title when action bar is visible 2024-11-24 21:14:22 +01:00
Arjan Schrijver b3b665ab6c Actually improve requesting all permissions 2024-11-24 21:14:22 +01:00
Arjan Schrijver 2422e02e5d Improve requesting all permissions 2024-11-24 21:14:22 +01:00
Arjan Schrijver a889f671d7 Improve permissions descriptions 2024-11-24 21:14:22 +01:00
Arjan Schrijver 4c86c275f8 Fix missing permission request buttons 2024-11-24 21:14:22 +01:00
Arjan Schrijver 13c8061507 Add back permission explanation dialogs 2024-11-24 21:14:22 +01:00
Arjan Schrijver 1d330b2788 Improve "works locally" wording 2024-11-24 21:14:22 +01:00
Arjan Schrijver a2e6009623 Make strings translatable 2024-11-24 21:14:22 +01:00
Arjan Schrijver 83b532e16e Reorder intro screen and use correct app_name 2024-11-24 21:14:22 +01:00
Arjan Schrijver 32c92c3533 Add First Start screens with permissions screen 2024-11-24 21:14:22 +01:00
Arjan Schrijver e83555f099 Fossil/Skagen Hybrids: Fix erroneous watchface downgrade from de37e5b6f 2024-11-14 14:10:14 +01:00
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