Commit Graph
214 Commits
Author SHA1 Message Date
Arjan Schrijver 3d917887f6 Endurain: Make remaining strings translatable and rename settings screen 2026-06-19 23:31:23 +02:00
Arjan Schrijver 256d2eb59a Endurain: Initial prefs and online auth implementation 2026-06-19 23:31:23 +02:00
Thomas Kuehne 97281bcb38 MetricsSamples: add experimental UI visualisation paths
- (de-)activate via Settings / Developer Options / Experimental metrics UI
- UI currently uses this only for TrainingAcuteLoad, TrainingChronicLoad and RestingMetabolicRate
- Garmin devices are the only ones that actually record these values in the database
2026-05-29 19:28:32 +00:00
José Rebelo c1d8fce4d3 Add setting to enable TRACE log level 2026-05-16 18:48:03 +01:00
José Rebelo 00dd7cb99b Split measurement system units 2026-03-24 22:16:13 +00:00
José Rebelo 8a16ab2f66 Add support for nautical units 2026-03-24 21:49:26 +00:00
José Rebelo ed2156c090 Add Intent to change global settings 2026-03-22 23:16:03 +00:00
José Rebelo 3ccd231a54 Navigation: Add warning about supported devices 2026-03-22 15:19:18 +00:00
José Rebelo 03805df13c Replace android.util.Log with logback 2026-02-11 22:11:26 +00:00
Gideon ZenzandJosé Rebelo aea638d4be Adding HealthConnect sync for:
Body Temperature
    Skin Temperature
    Distance
    Exercise
    Heart rate
    Heart rate variability
    Oxygen saturation
    Sleep
    Steps
    Total calories burned
    VO2 max
    Weight

The feature is configurable via Settings->External Integrations->Health Connect

Based on https://codeberg.org/LLan/Gadgetbridge

Kudos to LLan for the preliminary work!
2026-01-03 15:03:21 +01:00
José Rebelo ad1e0c5589 Revamp Debug activity 2025-12-26 20:02:37 +00:00
Arjan SchrijverandArjan Schrijver 87754b654f Make new strings translatable 2025-12-25 14:45:08 +01:00
Arjan SchrijverandArjan Schrijver ba0e8c3d86 Add preferences screen and URL allowlist functionality 2025-12-25 14:45:08 +01:00
José Rebelo 8a4bc18c03 Garmin / Zepp OS: Add experimental settings 2025-12-21 17:01:44 +00:00
Thomas KuehneandJosé Rebelo f5e015ff57 ui: optionally disable fetching new data from connected devices when swiping down
1) add new preference Settings / User interface / refresh on swipe
2) adjusted ControlCenterv2, AbstractChartsActivity and WorkoutListActivity
2025-08-26 21:17:04 +02:00
José RebeloandJosé Rebelo 2ecc845a74 Introduce automatic zip export 2025-08-15 20:35:01 +02:00
Thomas KuehneandJosé Rebelo 5d9d547250 icons: add icons for Settings / Automations 2025-08-05 21:44:29 +02:00
José Rebelo 742fccacec Simplify disabling permissions request screen
- Move the preference from developer to general settings
- Add a "do not ask again" button (with a warning), but only when the
  permission check is triggered on startup
2025-08-04 21:35:13 +01:00
Thomas KuehneandJosé Rebelo 9ef4a5881a icons: use distinctive icons for weather and package names 2025-08-03 23:40:07 +02:00
José Rebelo 3e036929cc Settings: Add search 2025-08-03 20:33:11 +01:00
Thomas KuehneandJosé Rebelo a28603be87 icons: add icons to Settings / User interface 2025-07-29 20:59:20 +02:00
Thomas KuehneandJosé Rebelo bba747cb6c ui: optionally prevent screen shots and insecure displays (#5166)
Introduce new Settings / User interface / Screenshots to optionally prevent screenshots and viewing on non-secure displays.
Toggling this setting requires a GB restart to become fully effective.
2025-07-29 20:57:27 +02:00
Daniele Gobbetti f78d59d6d4 Deprecate NotificationCollectorMonitorService
Don't start the foreground NotificationCollectorMonitorService unless enabled in the deprecated settings.

The notification service seems to be reliably kept alive by the OS without this workaround, and having a second foreground service is causing a second persistent notification for some users.
2025-07-16 17:22:07 +02:00
Thomas Kuehne b99e63104d UI: add icons for the "General settings" preferences 2025-05-23 20:21:27 +02:00
José RebeloandJosé Rebelo 49fb88ed9d Maps: Move maps preference to main screen 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo 8cec2282a8 Workout: offline map init 2025-04-04 22:02:46 +00:00
Arjan Schrijver 11f38aff15 Remove option to start first run screens from preferences 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
José Rebelo 19f04e1867 Show notification on crash for debug builds 2024-09-29 13:44:40 +01:00
José RebeloandJosé Rebelo b59ba76803 Refactor preferences screen 2024-08-31 13:33:25 +00:00
José RebeloandJosé Rebelo 95fdee3cbe Use MediaController for media buttons 2024-08-30 11:03:20 +00:00
Daniele GobbettiandJosé Rebelo 7d9f8704c9 Remove device_specific_settings category from main preferences
All devices are now handled by their device specific preferences
2024-08-25 20:20:52 +00:00
José Rebelo d8266b3d6b ZeTime: Migrate global preferences to device-specific 2024-08-23 20:22:20 +01:00
José RebeloandJosé Rebelo 2b9987d3e5 Mi Band: Migrate global preferences to device-specific 2024-08-23 14:02:28 +00:00
José Rebelo 4459b30ee6 Intent API: Add broadcast on activity sync finish 2024-06-02 22:03:12 +01:00
José RebeloandJosé Rebelo 41aab5135f Fossil Q Hybrid: Migrate global preferences to device-specific 2024-05-08 21:42:29 +00:00
José Rebelo 9bef90a151 HPlus: Migrate global preferences to device-specific 2024-04-28 19:02:20 +01:00
Marcel Alexandru Nitan 2190c82ed7 feature: Sleep as android support
Implement support for Sleep As Android with an usable example for ZeppOs
devices

Sleep as Android documentation:

https://docs.sleep.urbandroid.org/devs/wearable_api.html

Signed-off-by: Marcel Alexandru Nitan <nitan.marcel@protonmail.com>
2024-04-20 12:15:42 +03:00
Arjan Schrijver a2c861f66c Add preference for hiding bottom navigation bar 2024-04-17 21:58:23 +02:00
José Rebelo 7a4cd3ea78 Remove deprecated general auto-reconnect preference 2024-04-08 23:29:04 +01: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
José RebeloandJosé Rebelo 6853e3671b Prevent text cutoff on all checkbox preferences 2024-03-31 07:46:47 +00:00
Davis MosenkovsandJosé Rebelo 9e10da062e Add "Reconnect only to connected devices" setting
* Add general_reconnectonlytoconnected setting.

* Replace last_device_address shared prefs string with
last_device_addresses shared prefs string set.
Bluetooth address of a device is added to last_device_addresses when
connecting to the device.
Bluetooth address of a device is removed from last_device_addresses only
when deleting the device or explicitly disconnecting from the device
(e.g. by selecting "Disconnect" in the device tile menu).

* Adjust ExternalPebbleJSActivity to better support multiple connected
devices.
2024-01-08 17:11:33 +00:00
Arjan Schrijver fac566c7da Support selecting enabled navigation apps 2023-11-23 22:57:34 +01:00
Arjan Schrijver 8add6c4da9 Autodetect OsmAnd package name and make it configurable 2023-11-23 22:33:12 +01:00
Arjan Schrijver 69fcec059d Replace old-style preference switch with Material 3 switch 2023-10-09 09:53:36 +02:00
Arjan Schrijver 56be4c7bee Add explanation for dynamic colors theme 2023-08-12 11:47:17 +02:00
José Rebelo 3799c51dc3 Add preference to display changelog on startup 2023-08-09 20:00:47 +01:00
José Rebelo f0067ebeae Upgrade Mi Band preferences to androidx 2023-08-08 20:10:05 +01:00
José RebeloandJosé Rebelo f9ef3f47ab Extract Pebble and HPlus settings to standalone activities 2023-07-28 20:21:53 +00:00