Arjan Schrijver
305078f253
Fossil Hybrid HR: Use embedded background image from .wapp file for editor
2022-07-31 22:51:24 +02:00
Arjan Schrijver
75dd5f1863
Fossil Hybrid HR: Use embedded preview image from .wapp file during import
2022-07-31 20:31:16 +02:00
Arjan Schrijver
e2f38704ea
Fossil Hybrid HR: Bump watchface version
2022-07-28 22:11:58 +02:00
Arjan Schrijver
0b6c2db606
Fossil Hybrid HR: Add toggling of widgets with physical button event
2022-07-28 22:08:13 +02:00
Arjan Schrijver
7d5fe20b55
Fossil Hybrid HR: Add optional circle backgrounds to widgets
2022-07-25 14:34:41 +02:00
Arjan Schrijver
c946a045ef
Fossil Hybrid HR: Use preferencescreen for widget configuration
2022-07-25 14:34:41 +02:00
Arjan Schrijver
7e844367e6
Fossil Hybrid HR: Show in appmanager which watch apps are outdated
2022-07-16 23:03:06 +02:00
Arjan Schrijver
93e9d407ec
Fossil Hybrid HR: Show in appmanager which watchfaces are outdated
2022-07-14 13:02:04 +02:00
Arjan Schrijver
6d16625112
Fossil Hybrid HR: Fix 2nd TZ widget offset
...
The 2nd TimeZone watchface widget was configured with an offset that
didn't take DST into account. This change makes it use the correct
offset.
Fixes #2761
2022-07-14 09:48:12 +02:00
vanous
c77521f975
Add device menu item to get to the FW/App Installer via an explanation activity
2022-07-12 10:50:41 +02:00
vanous
d051a6ed50
Adjust device coordinators to provide correct per device reconnection settings
2022-07-11 18:46:43 +02:00
Arjan Schrijver
6649f1941a
Fossil Hybrid HR: Make 2nd TZ widget clock duration configurable
2022-07-07 22:16:52 +02:00
Arjan Schrijver
d03ec5518b
Fossil Hybrid HR: Make widget settings code more flexible
2022-07-07 21:53:28 +02:00
vanous
0709b20043
Fossil: move device specific icon setting to application specific settings menu
2022-07-05 23:06:16 +02:00
vanous
fe73e9fec1
Allow Settings splitting into device, app and auth screens
...
- open app preferences screen from device card menu
- open auth preferences screen from DiscoveryActivity
- add explanation about Auth key, make it open wiki link, fix #2240
- add New protocol checkbox and explanation when first pairing Miband 6
2022-07-05 21:40:27 +02:00
Arjan Schrijver
951772626c
Fossil Hybrid HR: Show app versions
2022-07-04 17:12:41 +02:00
Andreas Shimokawa
2182097f0c
Fossil Hybrid HR: Relax version check for watch apps
...
Allows to install latest watchapps
It seems that every time the firmware gets a major update, the new watchapps
have a different minor version, we dont need to check for that because watchapps
seem to be compatible accross firmware versions
2022-06-24 09:44:05 +02:00
Arjan Schrijver
0349b2530f
Fossil Hybrid HR: Invert widgets color when the background image is inverted
2022-06-17 22:42:58 +02:00
Arjan Schrijver
48212d4185
Fossil Hybrid HR: Add watchface preview images in the app manager
2022-06-17 14:45:10 +02:00
Arjan Schrijver
7f026edbd0
Fossil Hybrid HR: Generate watchface preview image
2022-06-15 12:59:23 +02:00
dakhnod
4a8523f790
multi-device-support ( #2526 )
...
this PR aims to add device for multiple connected devices at once.
A lot of stuff already works, some things need to be done:
- [x] change DeviceCommunicationService to hold multiple devices and supports
- [x] implement connect / disconnect logic
- [x] widgets, not really suited for multiple devices, so far
- [x] change the notification to show multiple devices
- [ ] change GBDeviceService#onFindDevice and similar API functions to target individual devices, not all connected.
- [x] move auto-reconnect setting to device settings
- [x] fix music event crash
- [x] work out behaviour when pressing "connect" from notification
- [ ] handle service crashes
- [ ] suit coordinator methods for multiple devices of same kind
- [x] change ACL_CONNECTED receiver to connect to devices that are not currently registered in DeviceCommunicationService
- [ ] adjust after-boot auto-connection logic
- [ ] fix hanging device support. Device says disconnected, GB says connected
- [x] firmware updater doesn't work
My attempt to make onFindDevice work was to change the arguments to ```EventHandler#onFindDevice(GBDevice device, boolean start)```.
The Problem is that this forces the device-specific implementations to also accept GBDevice as an argument.
Co-authored-by: Daniel Dakhno <dakhnod@gmail.com>
Co-authored-by: Andreas Shimokawa <shimokawa@fsfe.org>
Co-authored-by: dakhnod <dakhnod@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2526
Co-authored-by: dakhnod <dakhnod@noreply.codeberg.org>
Co-committed-by: dakhnod <dakhnod@noreply.codeberg.org>
2022-06-14 18:05:41 +02:00
Arjan Schrijver
4d0bfb452b
Fossil Hybrid HR: Allow installation of newer watch apps
2022-06-03 15:48:48 +02:00
Arjan Schrijver
e4d8f5f3e2
Fossil Hybrid HR: Add flexible custom menu on watch ( #2616 )
...
This PR adds support for a new custom menu system on the Fossil Hybrid HR, developed by @dakhnod. For regular users this PR will change nothing, apart from also giving an extra option to light up the display when receiving new notifications.
For more advanced users, there's the [Fossil HR Menu Companion app](https://github.com/dakhnod/Fossil-HR-Menu-Companion ) that's needed to enable and configure the new menu system. Just disable one or more of the physical buttons in Gadgetbridge and configure them instead in the companion app to get started.
Co-authored-by: Daniel Dakhno <dakhnod@gmail.com>
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2616
2022-03-22 20:52:43 +01:00
Daniel Dakhno
f49184ef62
Fossil HR: try guessing new widget position
2022-03-09 10:44:49 +01:00
Arjan Schrijver
795c800dd4
Fossil HR: Make width of custom widget configurable
2022-01-12 13:55:02 +01:00
Arjan Schrijver
7d552ce41f
Fossil Hybrid HR: Fix widget configuration bug
2021-12-06 17:08:50 +01:00
Arjan Schrijver
88218a1273
Fossil Hybrid HR: Add choice between hiding text and showing circle on custom widget timeout
2021-11-24 10:14:36 +01:00
Arjan Schrijver
d1062a30b2
Fossil Hybrid HR: Add update timeout to custom widget
2021-11-24 09:52:49 +01:00
Arjan Schrijver
c15833f149
Fossil Hybrid HR: Add button for removing the watchface background image
2021-11-18 13:39:46 +01:00
Arjan Schrijver
1d9eb9f332
Fossil Hybrid HR: Move watchface settings to proper settings screen
2021-11-18 12:14:26 +01:00
Arjan Schrijver
1a5ebe2ee7
Support multiple 2nd-TZ and Custom widgets
2021-11-13 10:10:38 +01:00
Daniel Dakhno
cd183eb953
added custom widget apps to gadgetbridge
2021-11-13 10:10:38 +01:00
vanous
678cf006e0
Move devicesettings_transliteration to settings of each device
2021-11-03 17:13:22 +01:00
HelloCodeberg
ca4f996e9b
add_rotate_watchface_button_hybridhr ( #2408 )
...
This adds a button which rotates the selected watchface by 90 degrees counter-clockwise to the hybridqr.
I did not manage to fix the autoorientation.
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2408
Co-authored-by: HelloCodeberg <hellocodeberg@noreply.codeberg.org>
Co-committed-by: HelloCodeberg <hellocodeberg@noreply.codeberg.org>
2021-10-14 11:00:37 +02:00
Arjan Schrijver
feadeb8139
Fossil Hybrid HR: Add power saving feature
2021-08-13 22:28:49 +02:00
Arjan Schrijver
2e3c409e02
Fossil Hybrid HR: Add timezone selector for 2nd TZ widget
2021-08-13 22:28:49 +02:00
Arjan Schrijver
9f2759a43c
Fossil Hybrid HR: Add 2nd TZ, Active Minutes and Chance Of Rain widgets
2021-08-13 22:28:49 +02:00
Arjan Schrijver
478053288f
Fossil Hybrid HR: Add battery and calories widgets
2021-08-13 22:28:49 +02:00
Arjan Schrijver
35da8fcad0
Fossil Hybrid HR: Show progress bar while installing watchface
2021-07-22 22:04:31 +02:00
Arjan Schrijver
ba5c87e7a8
Fossil Hybrid HR: Add icon for inverting colors of background image
2021-07-22 13:09:00 +02:00
Arjan Schrijver
c91403fce3
Fossil Hybrid HR: Rename widget color definitions
2021-07-22 13:07:09 +02:00
Arjan Schrijver
dcf869b988
Fossil Hybrid HR: Confirm overwriting cached watchface
2021-07-21 21:27:58 +02:00
Arjan Schrijver
fb02fa2ee0
Fossil Hybrid HR: Add default Gadgetbridge-themed watchface background
2021-07-21 20:32:16 +02:00
Arjan Schrijver
a710f0f677
Fossil Hybrid HR: Drop widget on recycle bin to delete
2021-07-19 13:43:05 +02:00
Arjan Schrijver
8fabf0d038
Fossil Hybrid HR: Support configuring watchface internal values
2021-07-19 13:43:05 +02:00
Arjan Schrijver
6000dd525e
Fossil Hybrid HR: Support widget color inversion
2021-07-19 13:43:05 +02:00
Arjan Schrijver
ceddaa0e8a
Fossil Hybrid HR: Make hardcoded strings translatable
2021-07-19 13:43:05 +02:00
Arjan Schrijver
d4b5796267
Fossil Hybrid HR: Add drag&drop for widgets
2021-07-19 13:43:05 +02:00
Arjan Schrijver
d4c69ebca3
Fossil Hybrid HR: Add steps and HR widgets
2021-07-19 13:43:05 +02:00
Arjan Schrijver
6743af98e9
Fossil Hybrid HR: Replace hardcoded widget type radio buttons with generated dropdown
2021-07-19 13:43:05 +02:00
Arjan Schrijver
2b7fc8dee1
Fossil Hybrid HR: Add widget position presets and move widget dialog to layout XML
2021-07-19 13:43:05 +02:00
Arjan Schrijver
7d23044a45
Fossil Hybrid HR: Show widget previews in watchface designer
2021-07-19 13:43:05 +02:00
Arjan Schrijver
e4be137286
Fossil Hybrid HR: Move preview&save buttons to action bar
2021-07-19 13:43:05 +02:00
Arjan Schrijver
5ccfccaf40
Fossil Hybrid HR: Extend AbstractGBActivity for dark theme support
2021-07-19 13:43:05 +02:00
Arjan Schrijver
04cdb0573b
Fossil Hybrid HR: Use text inputs for widget coordinates
2021-07-19 13:43:05 +02:00
Arjan Schrijver
fa89df562a
Fossil Hybrid HR: Edit existing watchfaces from app manager cache
2021-07-19 13:43:05 +02:00
Arjan Schrijver
c77d3e49b1
Fossil Hybrid HR: Add file extensions to new assets
2021-07-19 13:43:05 +02:00
Arjan Schrijver
de403cf92e
Fossil Hybrid HR: Add watchface designer
2021-07-19 13:43:05 +02:00
Arjan Schrijver
25324c61b9
Fossil Hybrid HR: Use GB app manager ( #2302 )
...
This PR replaces (just for the Fossil Hybrid HR) the current watchface configuration screen with the native Gadgetbridge app manager. Bonus feature: when multiple watchfaces are installed on the watch, they can be switched by tapping on them.
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2302
Co-authored-by: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-committed-by: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-05-29 16:42:32 +02:00
Arjan Schrijver
9dac0a80c3
Fossil Hybrid HR: Add watch app and watchface support to install handler
2021-05-24 21:49:54 +02:00
Arjan Schrijver
9f459b1da9
Fossil Hybrid HR: Move commute actions to device specific settings
2021-05-22 22:28:26 +02:00
Arjan Schrijver
beb1597b75
Fossil Hybrid HR: Hide old settings on newer firmwares
2021-05-11 11:22:55 +02:00
Arjan Schrijver
be73e84829
Fossil Hybrid HR: Restructure settings menus for calibration, file management and physical buttons
2021-05-11 11:22:55 +02:00
Arjan Schrijver
2f37d4c839
Fossil Hybrid HR: Dismiss incoming call with a quick SMS reply ( #2264 )
...
Merge branch 'master' into fossil_hr_quick_replies
Fossil Hybrid HR: Allow between 1 and 16 quick replies to be configured
Fossil Hybrid HR: Dismiss incoming call with a quick SMS reply
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2264
Co-Authored-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-Committed-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-04-27 12:51:14 +02:00
Arjan Schrijver
31d2563a18
Fossil Hybrid HR: Show correct notification icons ( #2251 )
...
Co-Authored-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-Committed-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-04-20 09:55:27 +02:00
Andreas Shimokawa
91b27901e7
Fossil Hybrid HR: prevent hard crash when choosing a remote URL in FIle Mananger
2021-03-13 22:00:12 +01:00
Andreas Shimokawa
2d17f06d6d
Fossil Hybrid HR: Fix resolving file path from chosen file for many file managers
...
Tested with Lineage 17.1 file chooser.
2021-03-13 21:31:28 +01:00
Arjan Schrijver
2cbb42ba53
Fossil Hybrid HR: disable unsupported functions for newer firmwares
2021-03-11 17:19:31 +01:00
Andreas Shimokawa
ecc0f78848
Fossil Hybrid HR: move autoremove notifications settings to own xml for reusability
2021-03-08 14:58:54 +01:00
Arjan Schrijver
627bf033c3
Fossil Hybrid HR: Fix up/back navigation and add titles
2021-03-08 12:08:57 +01:00
Daniel Dakhno
1505c355ce
Fossil HR: allow app management on watch from GB
2021-02-01 01:57:13 +01:00
Daniel Dakhno
ec77345632
Fossil Hybrid: file handle can be passed to service as string
2021-01-30 21:10:36 +01:00
License Bot
1b5402dcb4
update license headers
2021-01-10 23:38:13 +01:00
Daniel Dakhno
996674836e
Fossil Hybrid: added firmware upgrade to old Q's
2020-11-29 17:10:10 +01:00
Daniel Dakhno
c85e30cb07
Fossil Hybrid: added hands calibration
2020-10-22 12:43:40 +02:00
Daniel Dakhno
3b2a16b6fc
Fossil Hybrid: added manual file down/upload
2020-10-16 01:50:44 +02:00
Daniel Dakhno
e47599f15f
Fossil Hybrid: fixed text color
2020-10-12 18:15:04 +02:00
TaaviE
3bf2d4f086
Fixed a warning with witdh
being used as height
parameter.
2020-08-26 14:02:22 +02:00
TaaviE
010785113b
Fixed a few more warnings
2020-08-26 09:38:31 +02:00
Andreas Shimokawa
fa2d954552
Add alarm title and description field to alarm configuation
...
Wire it up and enable for Fossil Hybrid HR
2020-04-24 10:39:32 +02:00
Daniel Dakhno
ca5d177608
Fossil HR: fixed some widget issues
2020-04-24 01:49:42 +02:00
dakhnod
11d1fd08bd
Add Fossil HR Activity Tracking ( #1846 )
2020-04-20 00:11:45 +02:00
Andreas Shimokawa
6dddc003e9
Fossil Hybrid HR: Interpret and show fimware version in firmware installer
2020-04-12 20:56:41 +02:00
Andreas Shimokawa
1e93a8c1cc
Fossil Hybrid HR: Experimenal firmware update support
...
TODO:
- progress bar
- set device state to firmware update
There is currently absolutely no feedback during install, just wait and pray
2020-04-10 00:51:16 +02:00
Daniel Dakhno
b34e74494d
Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge into fossil-q-hr-background-image
2020-04-08 03:26:30 +02:00
Daniel Dakhno
bbf60248c3
Fossil HR: added button to delete background
2020-04-08 03:20:39 +02:00
Daniel Dakhno
379fa746a3
Fossil HR: added Background image and basic editing
2020-04-08 03:08:35 +02:00
Daniel Dakhno
e0c09f259f
Fossil HR: removed per-widget circle settings
2020-04-08 02:18:13 +02:00
Daniel Dakhno
b2a6b4b03b
Fossil HR: added option to disable widget circle
2020-04-04 02:19:30 +02:00
Daniel Dakhno
ae503ec456
Fossil HR: added activity tracking for battery level updates
2020-03-29 03:10:30 +02:00
Andreas Shimokawa
1ccb7ab785
Fossil: Allow swiching off the device specific "Q" notification icon
2020-03-12 13:48:25 +01:00
Daniel Dakhno
a2d52438e2
Fossil HR: actions now movable in list
2020-03-01 22:20:00 +01:00
Andreas Shimokawa
ddd70f93fc
Fossil Hybrid HR: option to force white background
...
Currently needs reconnect and one change to the widget configuration to be effective.
This might improve visiblity of the hands when using a model with gray hands
2020-02-27 13:38:45 +01:00
cpfeiffer
c68182fd42
Fossil support does not support activity data fetching yet.
2020-02-26 21:50:37 +01:00
Andreas Shimokawa
23cbc2e7f1
Fossil Hybrid HR: Fix weather (unit must be lower case)
2020-02-16 13:09:08 +01:00
Daniel Dakhno
f9a4c1ad35
added call notification support (doesnt work on all phones)
2020-02-16 01:17:45 +01:00
Andreas Shimokawa
53969660f4
Fossil HR: enable Unicode Emojis, since they are obviously supported
2020-01-29 21:20:33 +01:00
cpfeiffer
6244bdd745
File external files dir creation, add test
2020-01-29 20:20:20 +01:00
cpfeiffer
7618ec39a2
Use try-with-resources for db access
2020-01-29 20:01:20 +01:00
cpfeiffer
f24dc0c1cb
Cleanup file handling a bit
2020-01-29 20:01:20 +01:00