Commit Graph
13910 Commits
Author SHA1 Message Date
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
dependency-botandJosé Rebelo 3371d9496f chore(deps): update dependency gradle to v8.14.3 2025-07-06 10:17:00 +02:00
José Rebelo 35935275fa BTBR: Fix stuck reconnection on null socket 2025-07-06 09:08:10 +01:00
Thomas Kuehne 46d3f461e9 Timers: use fixed delay instead of fixed rate
from lint:
Use of scheduleAtFixedRate is strongly discouraged because it can lead to unexpected behaviour when Android processes become cached (tasks may unexpectedly execute hundreds or thousands of times in quick succession when a process changes from cached to uncached).
2025-07-06 09:43:30 +02:00
yurtpageandJosé Rebelo 63ee2fcf5c fastlane: full_description.txt add link to Gadgets page
Signed-off-by: yurtpage <yurtpage@noreply.codeberg.org>
2025-07-05 23:51:38 +02:00
José Rebelo 0a0d0806e7 Garmin Instinct Tactical: Initial support 2025-07-05 22:46:18 +01:00
QtekfunandJosé Rebelo 30d5bac428 feat: Add initial support for H59 2025-07-05 23:40:35 +02:00
Thomas KuehneandJosé Rebelo 32e1b8a538 setBusyTask - ensure that busy task names are translated (#5043) 2025-07-05 20:21:45 +02:00
Thomas KuehneandJosé Rebelo 5d140e167d replace three dots (...) with ellipses (…) 2025-07-05 19:12:22 +02:00
Thomas Kuehne 42d19dbaed dispose DeviceSupports if connect() throws an exception (#5045) 2025-07-05 18:04:45 +02:00
Andreas Shimokawa 165a78f99c ATC_BLE_OEPL: Keep aspect ratio when scaling 2025-07-05 15:13:01 +02:00
Thomas KuehneandJosé Rebelo 443594db8c add CompanionDeviceService initiated re-connection (#5023) 2025-07-04 22:17:19 +02:00