Commit Graph
13921 Commits
Author SHA1 Message Date
Arjan Schrijver 310027cdb1 Fossil/Skagen Hybrids: Add support for workouts sync
Fixes #4639
2025-07-15 09:45:05 +02:00
Thomas Kuehne 8daa0178ce ble+btbr: add TransactionBuilder.setProgress (#5098) 2025-07-14 19:04:38 +02:00
Thomas KuehneandJosé Rebelo 7dac462f7d FunctionAction: enhance Transaction.run to streamline one-off actions (#5081) 2025-07-14 00:12:16 +02:00
José Rebelo 5ce9936686 GloryFit: Initial support for Oukitel BT103, Dotn P66D 2025-07-13 21:28:36 +01:00
Thomas Kuehne 78578cc86d btle+br: use DeviceSupport.createTransactionBuilder instead of TransactionBuilder's constructor to prepare for queue isolation 2025-07-13 21:06:04 +02:00
Thomas Kuehne a67613072c asteroidos: fix concurrency issue between initializeDevice and onSetTime 2025-07-13 19:00:33 +02:00
José Rebelo c634645492 Garmin Vivosmart 3: Initial support 2025-07-13 15:49:08 +01:00
José Rebelo b31f2c95fb Amazfit Balance 2: Mark as supported
Confirmed on matrix
2025-07-13 13:22:43 +01:00
cooligulaandJosé Rebelo e30ad83303 Add diving functionality for HUAWEI Devices (initial PR, adding data types) (#5069)
Co-authored-by: cooligula <cooligula@noreply.codeberg.org>
Co-committed-by: cooligula <cooligula@noreply.codeberg.org>
2025-07-13 14:14:27 +02:00
José Rebelo 5b3d5b1ef9 Garmin Vivomove Sport: Initial support 2025-07-13 13:11:56 +01:00
dependency-botandJosé Rebelo 4e01505c77 Update dependency org.apache.commons:commons-lang3 to v3.18.0 2025-07-12 14:22:42 +02:00
dependency-botandJosé Rebelo 22c68310db Update dependency com.android.tools.build:gradle to v8.11.1 2025-07-12 14:22:11 +02:00
José Rebelo 3c76b58829 Sort device language preference alphabetically 2025-07-12 13:13:56 +01:00
Thomas Kuehne d8a4773c15 ble: use thread safe parameter in onCharacteristic instead of characteristic.getValue 2025-07-12 09:51:50 +02:00
Me7c7andJosé Rebelo 7ba46f1138 huawei: Parse addional data for workout 2025-07-11 22:07:18 +02:00
Thomas KuehneandJosé Rebelo fdb1367434 toasts: use Throwable.getLocalizedMessage instead of getMessage 2025-07-11 22:07:04 +02:00
Thomas KuehneandJosé Rebelo 956adf72d9 TransactionBuilder: simplify the writing of single byte values 2025-07-11 22:05:17 +02:00
Aziz AnwarandAziz Anwar 8652471497 xiaomi smart band 10 sleep details parser fileId version 5 2025-07-11 11:25:13 +02:00
Daniele Gobbetti cd651ce140 Refactor Notification classes to remove Pebble-isms
Move pebble icons and color to a new class, keeping the original NotificationType enum
2025-07-11 09:27:02 +02:00
Thomas Kuehne 0b42950ac9 log when Service.onTimeout gets called for foreground services
GB sometimes gets killed without any obvious cause in gadgetbridge.log. This a companion of PR #5036 to figure out potential causes.
2025-07-10 23:54:05 +02:00
Thomas KuehneandJosé Rebelo 57b39f4e09 ble: use old writeCharacteristic API for writeLegacy
Some vendors customized timing aspects so that the old and new writeCharacteristic calls behave differently.
On vanilla Android there is no difference.
2025-07-10 23:27:33 +02:00
Thomas KuehneandJosé Rebelo de5a1afed1 logging: handle null buffers in GB.hexdump
Enable dumping null buffers like Logging.formatBytes already supports.
2025-07-10 23:26:54 +02:00
José Rebelo 630995a04f Mi Band 9 Pro: Fix walking activity parsing 2025-07-10 21:38:36 +01:00
José Rebelo 1db728b400 Force upper-case preferences for device settings 2025-07-10 21:12:17 +01:00
José Rebelo 5e3a0fdced Add Goodwy and Simple SMS to sms apps 2025-07-10 21:00:09 +01:00
José Rebelo aa4f15ff31 Hide battery header if single battery 2025-07-10 20:42:35 +01:00
Arjan Schrijver 4eea3397b1 Fix repeating battery exemption request 2025-07-10 16:44:03 +02:00
Daniele Gobbetti c4ca8d6b3b Printer: allow alignment of picture
Show the picture on a canvas and allow to swipe it to align left, middle or right.
Also simplify the activity layout by removing the incoming picture and only showing the preview.
2025-07-09 17:14:57 +02:00
Qtekfun 234d057305 feat: Add support for Colmi R07 2025-07-09 08:29:54 +02:00
José Rebelo 1717a40ad6 Mi Band 9 Pro: Fix walking activity parsing 2025-07-08 21:35:32 +01:00
José Rebelo f5f2f23793 Amazfit Active 2 NFC Square: Fix recognition 2025-07-08 20:04:55 +01:00
Daniele Gobbetti 87d6a677ec Printer: fix device icon colors 2025-07-08 09:16:10 +02:00
Andreas Shimokawa f5642092c8 ATC_BLE_OEPL: Fix keeing aspect in some cases 2025-07-07 21:36:45 +02:00
Andreas Shimokawa e1c3bf3e64 ATC_BLE_OEPL: use printer icon 2025-07-07 14:40:39 +02:00
Andreas Shimokawa 6a04734f9c ATC_BLE_OEPL: apply dithering using PnnLABQuantizer
This involves making PnnLABQuantizer::dither public and abusiung it to be able to use dithering with a predefined palette
2025-07-07 10:56:13 +02:00
Daniele Gobbetti 99a05742ff Start NotificationCollectorMonitorService as foreground service 2025-07-07 08:37:13 +02:00
José Rebelo c9812aac54 Enable Kotlin support 2025-07-06 21:16:45 +01:00
Daniele Gobbettianddaniele 23f4488852 Printer: add upscale switch and print size in preview 2025-07-06 18:08:46 +02:00
Daniele Gobbettianddaniele 6196be1f3f Printer: unregister BroadcastReceiver on dispose
Also register it when the device is actually initialized
2025-07-06 18:08:46 +02:00
Daniele Gobbettianddaniele 99aec7bd48 Printer: Shutdown executor on activty destroy 2025-07-06 18:08:46 +02:00
Daniele Gobbettianddaniele 744d17b45f Printer: Use external library for dithering, cache file and fix image preview
Use a cache file in the cache directory to hold the bitmap, this way we can avoid passing huge byte arrays around for printing.

Also:
allow to open files from the SendToPrinterActivity if it's launched from the device card
fix the encoding of rows when RLE is not in use
show the previews in full width in the activity
2025-07-06 18:08:46 +02:00
Daniele Gobbettianddaniele b785bda9d1 Printer: use device card actions 2025-07-06 18:08:46 +02:00
Daniele Gobbettianddaniele 12dac9d39f Printer: Print notifications (disabled)
Add method to print incoming notifications (commented out / disabled for now)
2025-07-06 18:08:46 +02:00
Daniele Gobbettianddaniele c03b229563 Printer: Implement flow control
Also make the print activity scrollable for dealing with long images.
2025-07-06 18:08:46 +02:00
Daniele Gobbettianddaniele 0af011c929 Printer: Use theme color for device icon 2025-07-06 18:08:46 +02:00
Daniele Gobbettianddaniele 07d0895c06 Initial support for thermal printers 2025-07-06 18:08:46 +02:00
José Rebelo 0996b5d810 BtBRQueue: Fix unit tests
Regression in the tests introduced by 891655504

These should be refactored, as they can become quite flaky due to the
mocks.
2025-07-06 15:50:04 +01:00
Thomas Kuehne a810fa8a36 log: improve logging of Bluetooth adapter changes 2025-07-06 15:05:00 +02:00
José Rebelo de1e17c3a4 Fix crash when no calendar provider is available 2025-07-06 13:21:40 +01:00
José Rebelo e9eaee02cb Garmin Forerunner 165 Music: Initial support 2025-07-06 13:21:15 +01:00