cpfeiffer
07818d1f79
Remove extraneous bracket
2020-02-26 23:16:34 +01:00
cpfeiffer
4d8ddb96cf
Merge branch 'master' into fossil-q-hr
2020-02-26 22:47:35 +01:00
cpfeiffer
18ebd766c7
Make the constant static final
2020-02-26 22:46:50 +01:00
cpfeiffer
ce574ea5db
Use long instead of int for daily totals calculation
2020-02-26 22:46:50 +01:00
cpfeiffer
eb8e37d3a6
Sanity check for alarms index to avoid AIOOBE
2020-02-26 22:25:03 +01:00
cpfeiffer
c68182fd42
Fossil support does not support activity data fetching yet.
2020-02-26 21:50:37 +01:00
cpfeiffer
c766b1d1b7
Make exception notification only visible in debug builds
2020-02-26 21:35:09 +01:00
cpfeiffer
136825fa9d
Do not connect to random (first) device on start
2020-02-26 21:15:30 +01:00
Andreas Shimokawa
fb996c3301
Merge branch 'master' into fossil-q-hr
2020-02-26 20:30:57 +01:00
Andreas Shimokawa
9a114f640b
Huami: Make experimental calendar sync feature optional
2020-02-24 14:19:06 +01:00
Andreas Shimokawa
d3ab597e8a
Merge branch 'master' into fossil-q-hr
2020-02-22 10:16:51 +01:00
Andreas Shimokawa
1b416e18b9
introduce GBApplication.isRunningPieOrLater() and fix indent of last commit
2020-02-22 10:12:33 +01:00
Andrzej Surowiec
01ab7bcb54
Fix answering/rejecting calls on Android 9
2020-02-22 09:50:05 +01:00
Andreas Shimokawa
bffb8e8f87
Huami: send upcoming calendar events as reminder
...
TODO: make this optional, fix title not being displayed, do it proberly like we do on pebble
2020-02-19 09:41:50 +01:00
Andreas Shimokawa
71b76c8e8f
Huami: add unused and untested co to send upcoming calender events as notifications
2020-02-18 22:20:57 +01:00
Andreas Shimokawa
fe7c4d5290
Fossil Hybrid HR: Play around with the weather app
2020-02-18 00:31:43 +01:00
Andreas Shimokawa
a90e8de040
Fossil Hybrid HR: Display caller name instead of number, when known
2020-02-16 23:05:21 +01:00
Andreas Shimokawa
6a30c2fa6f
Fossil Hybrid HR: send weather as soon as it comes in, map correct icons
2020-02-16 22:56:43 +01:00
Andreas Shimokawa
23cbc2e7f1
Fossil Hybrid HR: Fix weather (unit must be lower case)
2020-02-16 13:09:08 +01:00
Andreas Shimokawa
977e94b359
Fossil Hybrid HR: experimetn with weather, does not work yet
...
I could change the widget icon but it always shows -- for temperature..
2020-02-16 02:19:48 +01:00
Daniel Dakhno
c57d5d3659
added find my device support
2020-02-16 01:41:14 +01:00
Daniel Dakhno
f9a4c1ad35
added call notification support (doesnt work on all phones)
2020-02-16 01:17:45 +01:00
Daniel Dakhno
17ade7e591
adjusted find my phone
2020-02-14 23:51:59 +01:00
Daniel Dakhno
b41495c2b8
device should not connect with invalid key anymore
2020-02-11 00:20:11 +01:00
Andreas Shimokawa
15a090b35e
Merge branch 'master' into fossil-q-hr
2020-02-05 10:59:26 +01:00
Andreas Shimokawa
8aff19f8c8
ZeTime: Fix probably broken support (duplicate id used by Fossil)
...
This migrates the Fossil ID to 170 (from 80)
2020-02-05 10:48:06 +01:00
TaaviE
26e4f1eb3e
Fixed a small misspell
2020-02-05 02:03:51 +02:00
Andreas Shimokawa
3226d61ecd
Mi Band 4: Make high MTU support optional
...
Fixes #1766
2020-02-04 10:04:01 +01:00
TaaviE
68e746edff
Made it adding already paired devices work properly if they're not ignored
2020-02-03 20:24:55 +01:00
TaaviE
4567cab327
Drew a Mi Scale 2 icon and removed the leftover H30 H10 icons
2020-02-03 20:05:18 +02:00
TaaviE
ed8323ad2e
Refactored the iTag support class
2020-02-02 06:29:04 +02:00
Daniel Dakhno
829a306c64
added logic for call notification (WIP)
2020-02-02 03:16:48 +01:00
TaaviE
1c93f579b5
Made iTag devices appear in search results
2020-01-31 23:18:17 +02:00
TaaviE
a943adbac7
Added custom icon for iTag devices
2020-01-31 18:48:05 +01:00
TaaviE
27c2717fe8
Updated the license header's year
2020-01-31 09:16:37 +01:00
TaaviE
18d83febaa
Added iTag support
2020-01-31 09:16:37 +01:00
TaaviE
b01e703e84
Added a check to avoid indefinitely lasting scans
2020-01-31 07:01:04 +02:00
Dmitry Markin
b321956c7c
Stop an incoming VoIP call notification when the call is answered
2020-01-30 00:31:00 +03:00
cpfeiffer
a90cf2bfc3
Use constants for BLE services
2020-01-29 21:53:18 +01:00
Andreas Shimokawa
53969660f4
Fossil HR: enable Unicode Emojis, since they are obviously supported
2020-01-29 21:20:33 +01:00
Andreas Shimokawa
3722a9b432
Fossil HR: In notifications display sender, and if not available, notification title (like other devices do too)
2020-01-29 20:43:40 +01:00
Andreas Shimokawa
9cd4ee0f29
Fossil HR: display sender instead of App Name
...
(in the long run we need more icons to distinguish)
2020-01-29 20:27:07 +01:00
cpfeiffer
6244bdd745
File external files dir creation, add test
2020-01-29 20:20:20 +01:00
Andreas Shimokawa
7d73ca3df2
Fossil HR: Implement next/previous track
2020-01-29 20:03:14 +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
Andreas Shimokawa
0a4d8499fa
Fossil HR: Implement Find Phone
...
There is still no acknowledgement, so if the watch gets a timeout it cant stop the phone from ringing anymore.
If you stop ringing from the watch during before the timeout hits, stopping works...
2020-01-29 19:44:54 +01:00
Andreas Shimokawa
23f4752296
Fossil HR: Merge StringUtils in generic class, fix terminateNull()
...
This fixes string truncation when using non ascii UTF-8 characters.
Also fixes the Debug screen for Fossil HR
2020-01-29 19:21:43 +01:00
cpfeiffer
5e8004756f
A little cleanup
2020-01-29 19:11:24 +01:00
cpfeiffer
4293db5514
Cleanup toast/logging
2020-01-29 17:37:54 +01:00
Andreas Shimokawa
1c91c037a8
Merge branch 'master' into fossil-q-hr
2020-01-29 17:22:21 +01:00
Andreas Shimokawa
b91f357dc0
Whitelist group summary notifications for "mikado.bizcalpro"
...
Causes multiple notification to be sent, but this seems to be a bug from that app
2020-01-28 11:12:56 +01:00
Daniel Dakhno
db8de891e4
added music control (except skipping)
2020-01-27 12:38:20 +01:00
Andreas Shimokawa
01d19e5384
VoIP calls: ignore notifications with only one action, assuming it is an outgoing call
...
(Might improve #1780 )
2020-01-26 19:28:19 +01:00
Dmitry Markin
b36fe52a65
Mi Band 2: properly stop a call notification when text notifications are disabled
2020-01-21 13:49:17 +03:00
Daniel Dakhno
132d97ee95
created UI to design custom widgets
2020-01-19 04:01:57 +01:00
Daniel Dakhno
4c86d227f1
removed proprietary background image
2020-01-18 12:08:02 +01:00
Daniel Dakhno
13d07751ae
fixed crash on image not found
2020-01-18 12:06:36 +01:00
Daniel Dakhno
c0107676e6
Merge remote-tracking branch 'origin/fossil-q-hr' into fossil-q-hr
2020-01-16 13:51:50 +01:00
Daniel Dakhno
7d877c9486
hopefully fixed connection state bug
2020-01-16 13:51:36 +01:00
dakhnod
f7c21e9e62
eliminated duplicate mtu change effect
2020-01-15 01:25:58 +01:00
Andreas Shimokawa
a4ebe17191
Huami: Enable alarm snooze enable/disable for all devices
2020-01-13 08:08:54 +01:00
dakhnod
fd8800607c
added widget alpha channel
2020-01-13 03:35:06 +01:00
Daniel Dakhno
e66c70ece8
Merge remote-tracking branch 'origin/fossil-q-hr' into fossil-q-hr
2020-01-13 00:40:17 +01:00
Daniel Dakhno
a4d4d6ed91
customized asset file handling
2020-01-13 00:40:06 +01:00
dakhnod
88cb704719
fixed notification filters
2020-01-12 23:48:13 +01:00
Dmitry Markin
10c9b07c69
Control alarm snooze mode on MiBand2
2020-01-12 12:02:04 +03:00
dakhnod
4a9bd67101
customized widgets
2020-01-11 09:26:03 +01:00
Daniel Dakhno
ea6e617d50
removed private key
2020-01-09 15:50:21 +01:00
Daniel Dakhno
ce880b69c9
added heart rate measurement base
2020-01-09 15:35:47 +01:00
Daniel Dakhno
30b6837012
added asset sub handle
2020-01-09 15:34:40 +01:00
Daniel Dakhno
cd28b4d21b
fixed typo
2020-01-09 15:24:29 +01:00
Daniel Dakhno
5badedb466
Merge remote-tracking branch 'origin/fossil-q-hr' into fossil-q-hr
2020-01-09 14:45:36 +01:00
Daniel Dakhno
adf135ef10
fixed dangling request and bufferoverflow
2020-01-09 14:45:24 +01:00
License Bot
d6fa5d0dd5
Update license headers
2020-01-09 10:44:32 +01:00
Andreas Shimokawa
7c15ddb471
Amazfit Bip: Remove RES file limit (for BipOS)
2020-01-08 22:44:21 +01:00
vanous
7394b1cce3
Add-Buttons-Events-Config ( #1761 )
2020-01-08 19:58:31 +01:00
Andreas Shimokawa
378475aa3d
Amazfit Bip: Bump res size limit for Bip OS 0.5.2
2020-01-08 00:10:32 +01:00
dakhnod
5cf7dba17b
fixed asset handle
2020-01-07 21:44:24 +01:00
dakhnod
b04ff78e90
Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge into fossil-q-hr
2020-01-07 21:02:44 +01:00
dakhnod
1ebf79e54a
changed json requests file handle
2020-01-07 03:27:22 +01:00
Daniel Dakhno
02fb7a0e43
changed file handle handling
2020-01-06 15:28:24 +01:00
Daniel Dakhno
337c54498c
fixed import error
2020-01-06 15:08:54 +01:00
Daniel Dakhno
fb8b4b4ce6
fixed off-by-one error
2020-01-06 15:07:52 +01:00
Daniel Dakhno
197243bf7a
fixed crash
2020-01-06 15:07:23 +01:00
Daniel Dakhno
9e37f13821
adjusted response handling
2020-01-05 15:09:30 +01:00
Andreas Shimokawa
1c82c4e8e1
Huami: make time format 12h/24h configurable (was automatic before)
...
Fixes #1736
2020-01-04 23:40:50 +01:00
Andreas Shimokawa
0b673646e3
Change Y5 id next to Teclast H3 (very similar devices, same protocol)
...
Normally that should not be done. But it was just merged, so probably ok, will think about migration
Vibratissimo changed to 300 :P There are no data for Vibratissimo anyway
2020-01-04 20:54:46 +01:00
dakhnod
98540fbdb6
added render property to widget intent
2020-01-04 00:24:29 +01:00
Daniel Dakhno
822759c238
Merge branch 'fossil-q-hr' of https://codeberg.org/Freeyourgadget/Gadgetbridge into fossil-q-hr
2020-01-03 18:04:30 +01:00
Daniel Dakhno
0cf1b5966f
added custom widgets
2020-01-03 18:03:20 +01:00
cpfeiffer
00830218e7
Q HR: Allow specifying key during discovery
2020-01-03 12:24:34 +01:00
cpfeiffer
2d3f5384fd
Unregister the receivers on dispose()
2020-01-03 12:23:57 +01:00
Daniel Dakhno
961c0aa97c
added some widget example code (WIP)
2020-01-03 02:33:47 +01:00
Daniel Dakhno
d2ede421c1
added custom wuidget code (WIP)
2020-01-03 00:15:48 +01:00
dakhnod
1e2b0ce242
Merge remote-tracking branch 'origin/fossil-q-hr' into fossil-q-hr
...
# Conflicts:
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/adapter/fossil_hr/FossilHRWatchAdapter.java
2020-01-02 02:08:46 +01:00
dakhnod
2242aa5ac9
added RLE encoding helper
2020-01-02 02:08:04 +01:00
dakhnod
9d34447b0d
changed image and asset related classes
2020-01-02 02:07:53 +01:00
Da Pa
71a411bfef
Add a JYouSupport base class as suggested by @ashimokawa
...
- has common code used by TeclastH30Support and Y5Support
2020-01-01 16:12:06 +02:00
Da Pa
35dbbd6a31
Merge branch 'master' into y5_patch_test
...
# Conflicts:
# GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/jyou/TeclastH30/TeclastH30Coordinator.java
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceSupportFactory.java
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/DeviceHelper.java
# app/src/main/res/values/strings.xml
2020-01-01 06:55:54 +02:00
Daniel Dakhno
20cf15d91f
added battery level warning
2019-12-31 15:51:52 +01:00
dakhnod
19d68c62c6
added music info (controls WIP)
2019-12-31 15:25:30 +01:00
w2q
4468475920
Pixart-Messenger als fork von Conversations erkennen
...
Pixart-Messenger is a fork of Conversations, so it can be handled the same way.
2019-12-31 12:52:04 +01:00
dakhnod
2acac2146e
auto connects to device on startup (mainly for testing)
2019-12-31 03:38:38 +01:00
dakhnod
8796e20676
added time set
2019-12-31 03:35:44 +01:00
dakhnod
0aaaabcc11
code cleanup
2019-12-31 03:35:11 +01:00
dakhnod
c4d63a80e1
added menu handling and error status
2019-12-31 03:14:20 +01:00
dakhnod
5ca4816b01
added menu handling
2019-12-31 03:13:31 +01:00
dakhnod
541561e247
added menu request
2019-12-31 03:13:13 +01:00
dakhnod
6f012c2109
Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge into fossil-q-hr
2019-12-30 21:46:41 +01:00
Daniel Dakhno
4ee2b006b7
added json button configuration
2019-12-30 20:23:20 +01:00
vanous
50defa1eb6
Add broadcast sender/receiver to ConfigureAlarms/HuamiSupport
...
This is to prevent discrepancies if user edits alarms in Gadgetbridge
and also on the device at the same time.
2019-12-29 11:07:42 +01:00
Daniel Dakhno
4c11a886fe
renamed InformationRequest to ConfigurationRequest to comply with old implementation
2019-12-28 02:31:09 +01:00
dakhnod
462ee0e30b
added battery data fetching
2019-12-28 02:12:48 +01:00
Andreas Shimokawa
ca324b4d41
prepare release
2019-12-28 00:33:03 +01:00
Andreas Shimokawa
b1ada7a25c
Amazfit Cor: whitelist firmware 1.2.7.32
2019-12-27 23:54:53 +01:00
Andreas Shimokawa
3bf72f957a
Huami: get alarms at connect and save changes to database, react to on-device changes immediatly when device is connected
2019-12-27 22:19:17 +01:00
Daniel Dakhno
a24067a299
WIP: added encrypted setting request
2019-12-27 18:53:21 +01:00
Andreas Shimokawa
f958f3a54d
Amazfit Bip: Whitelist BipOS 0.5.1 (non-latin)
2019-12-27 14:42:00 +01:00
Andreas Shimokawa
9983a0f18e
Mi Band 3: Whitelist FW 2.4.0.32
2019-12-27 10:35:42 +01:00
Andreas Shimokawa
6548802abc
fix regression from latest commit where Mi Band 3 could not longer connect
2019-12-26 23:26:08 +01:00
Andreas Shimokawa
45c40825f3
Mi Band 4: Support MTU that gets reported from the Band
...
In my case that boosts the MTU from 23 to 247, firmware updates and watchface
istallations are extremely fast. This also affects notifications, weather etc.
2019-12-26 23:05:13 +01:00
Andreas Shimokawa
f0e8440e67
Try to fix race condition when re-connecting
...
(Count down latch only if services have been discovered)
2019-12-26 00:18:36 +01:00
Andreas Shimokawa
21eada4caa
Allow to set alarms to unused when long tapping
...
This helps clearing up a cluttered alarms list on devices like the Mi Band 4
Difference between disabling and setting to usused:
Unsused alarms cant be enabled from the Band, disabled can.
Closes #1747
2019-12-24 01:27:57 +01:00
Andreas Shimokawa
6e4240e61c
compile fix: typo
2019-12-24 00:07:31 +01:00
mamutcho
037c037032
Add option to force time sync.
2019-12-23 13:33:39 +02:00
mamutcho
57df6ec703
Auto time calibration
2019-12-23 11:29:09 +02:00
mamutcho
8cc5ed04cd
Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
2019-12-23 11:22:11 +02:00
Andreas Shimokawa
6f91e6053e
cleanup autoconnectintervalreceiver when unregistering
2019-12-22 12:47:43 +01:00
mamutcho
e6049438e7
Code cleanup and bug fixes
2019-12-21 18:48:19 +02:00
mamutcho
cfa0b6bf21
Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
2019-12-20 18:01:04 +02:00
Andreas Shimokawa
09632afb78
Huami: Fix stuck in connecting for most cases
...
This happened when sending a notification while doing authentication.
The reason the notification came though is the "auto connect" code that is
supposed to connect when a message arrives, so that it does not get lost.
This code and DeviceSupport::useAutoConnect() is probably totally useless by now
and could be removed in favor of the "waiting for reconnect" state.
The bug could have been solved by setting the device busy during authentication
in Huami code, but I did it by...
Note to self:
"Block everything except a disconnect request in DeviceCommunicationService
if the device is not yet initialzed but connected, assuming it is somewhere in
the middle doing something important"
2019-12-20 07:58:26 +01:00
mamutcho
8d7f170c70
Add support for Watch X Plus with same MAC as Watch 9
2019-12-18 23:09:26 +02:00
mamutcho
f7e7cfaa0c
Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
2019-12-16 19:52:14 +02:00
License Bot
c04e368631
Update license headers
2019-12-15 22:10:19 +01:00
License Bot
171f283ca8
Update license headers
2019-12-15 22:09:02 +01:00
mamutcho
48ed724256
Sync with Gadgetbridge
2019-12-15 19:40:20 +02:00
mamutcho
0d8428437c
Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
2019-12-15 18:28:19 +02:00
dakhnod
a256decfd0
initial commit
2019-12-15 14:58:19 +01:00
Andreas Shimokawa
8c6022b988
fix stupid typo
2019-12-15 00:11:21 +01:00
Andreas Shimokawa
5ee3c3db03
Bangle.js: use a more watch-like icon (we need new icons)
2019-12-15 00:05:55 +01:00
Andreas Shimokawa
72ffbca2ff
Make "reserve alarm for calender" per-device and only allow for Mi Band 1/2
...
This avoids a lot of bugs and confision regarding alarms
2019-12-14 23:48:02 +01:00
Andreas Shimokawa
c89a651573
Bangle.js: minor cleanups in coordinator
2019-12-14 12:16:23 +01:00
Andreas Shimokawa
a024055e69
Bangle.js: Code cleanup and minor bug fixes
...
- remove unused imports
- use java style array declaration
- use arraycopy instad of looping byte-by-byte
- fix wrong LOG output usage (positional argument instead of concat operator used)
- fix bad string comparision (must use equals() instead of ==)
2019-12-14 12:01:52 +01:00
dakhnod
fea4694cec
fixed crc length bug
2019-12-14 09:49:15 +01:00
mamutcho
74df3ffeb1
Code optimizations
2019-12-13 23:45:38 +02:00
mamutcho
068033ad8e
Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
2019-12-12 19:32:55 +02:00
mamutcho
be8cac2c6f
Merge branch 'master' of https://github.com/mamutcho/Gadgetbridge
2019-12-12 19:27:56 +02:00
Andreas Shimokawa
b78239e7be
Fossil Q: Remove tasker code and dependency
2019-12-11 22:14:20 +01:00
mamutcho
632f46bc8b
Bug fixes
2019-12-11 19:38:12 +02:00
Gordon Williams
9856536243
ask before bonding
2019-12-09 14:31:08 +00:00
Gordon Williams
77658c702f
remove debug filtering
2019-12-09 10:26:30 +00:00
Gordon Williams
fb70da856a
Merge branch 'master' of github.com:gfwilliams/Gadgetbridge
2019-12-09 10:13:02 +00:00
Andreas Shimokawa
8c20ae89a8
Replace CRC32C implementation of unknown source with Apache's implementation
2019-12-08 11:52:48 +01:00
Andreas Shimokawa
b9d3ec6df3
Make disabling new BLE scanning an option in preference
...
It was disabled in master, but not in the Fossil Q branch, now both is possible
This also reverts ca9761c336
which disabled classic BT scanning
2019-12-07 22:38:30 +01:00
License Bot
1dc8c26e2a
Update license headers
2019-12-06 22:51:43 +01:00
Gordon Williams
b5a5f020a0
Add notification responses
2019-12-04 17:23:34 +00:00
Gordon Williams
3c16b246a7
Bangle.js: Tidy up data transmit and add data receive
2019-12-04 16:42:28 +00:00
dakhnod
b1b4100852
extracted some string resources
2019-12-04 00:59:43 +01:00
dakhnod
f4a0f0ce8f
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-12-04 00:48:26 +01:00
dakhnod
d5cd59ae6b
improved sorting performance
2019-12-04 00:46:02 +01:00
dakhnod
8e27556cd4
removed printStackTrace
2019-12-04 00:36:42 +01:00
dakhnod
21358fece4
removed Toast#makeText in favour of GB#toast
2019-12-04 00:25:08 +01:00
dakhnod
d355b509d4
added comment
2019-12-04 00:22:19 +01:00
dakhnod
3bbc7a9046
fixed string comparison
2019-12-04 00:19:48 +01:00
dakhnod
f3dc0225ec
fixed string switch
2019-12-04 00:18:12 +01:00
dakhnod
4462c52ebb
fixed null comparison
2019-12-04 00:09:38 +01:00
Gordon Williams
43bce3ed80
safe init
2019-11-29 17:07:11 +00:00
Gordon Williams
103e3568c6
Adding notification handling
2019-11-29 17:01:57 +00:00
Gordon Williams
d978d3ff94
first compile with Bangle.js - very basic
2019-11-28 18:02:47 +00:00
Daniel Dakhno
02ee886934
Merge branch 'fossil-q-hybrid' of github.com:dakhnod/Gadgetbridge into q-hybrid-hr
2019-11-26 02:12:11 +01:00
Daniel Dakhno
e6ac9d91a5
added some fun and useless requests
2019-11-26 02:10:03 +01:00
Andreas Shimokawa
7a6e98c401
add migration for per-device button actions
2019-11-24 18:40:44 +01:00
dakhnod
2bba2c449f
fixed some syncing issues (hopefully)
2019-11-24 00:44:14 +01:00
Andreas Shimokawa
68a9bcc167
Mi Band 4: Whitelist FW 1.0.7.14
2019-11-23 22:50:34 +01:00
FYG_license_bot_ignore_me
8e5c4b4602
Update license headers
2019-11-23 21:53:22 +01:00
dakhnod
e1aa88d22a
added some logging
2019-11-21 23:22:55 +01:00
dakhnod
d344bfa6da
Merge branch 'fossil-q-hybrid' of github.com:dakhnod/Gadgetbridge into q-hybrid-hr
2019-11-21 22:37:52 +01:00
dakhnod
e0905703af
moved getModelName to superclass
2019-11-21 22:17:42 +01:00
dakhnod
afc177078a
modified logging
2019-11-21 22:12:10 +01:00
dakhnod
ecc8ae9175
added Hybrid HR base support
2019-11-21 21:00:35 +01:00
Daniel Dakhno
463e3d120d
added long to GenericConfigurationItem
2019-11-21 14:37:19 +01:00
Andreas Shimokawa
e5f5a671bd
Amazfit Bip: Make vibration after button action work
2019-11-21 13:24:06 +01:00
Mamut
dfe62fa28f
Merge pull request #3 from Freeyourgadget/master
...
Sync with Freeyourgadget
2019-11-20 20:39:31 +02:00
mamutcho
e03fd4357e
Add initial Watch X non-plus support
2019-11-20 20:38:02 +02:00
Daniel Dakhno
a56d180531
added second timezone button function
2019-11-20 18:59:13 +01:00
Andreas Shimokawa
c2db30274f
Make reconnect logic more device agnostic and remove pebble reconnect logic
2019-11-20 10:53:25 +01:00
Daniel Dakhno
a7c10bed42
added alarm settings
2019-11-20 00:56:09 +01:00
Daniel Dakhno
c037888623
added half-way-alarms and multi button
2019-11-19 23:42:06 +01:00
mamutcho
0cffd0f54c
Bump Gadgetbridge version to 0.39
...
Redesign Settings page
Ready to pull request
2019-11-19 20:53:19 +02:00
mamutcho
e3f838afa0
Bump version ot 0.39
...
Redesign Settings page
2019-11-19 20:51:37 +02:00
Andreas Shimokawa
c7053747cd
Add active reconnection
...
Closes #1724
Closes #1632
Closes #1452
Closes #1271
Closes #564
(Probably more)
2019-11-19 14:40:20 +01:00
Mamut
aefe7017f0
Merge pull request #1 from Freeyourgadget/master
...
Version to 0.39.0
2019-11-19 12:26:33 +02:00
Andreas Shimokawa
18d78bf05d
Amazfit Bip: Correct BipOS version
2019-11-18 21:53:03 +01:00
mamutcho
71ff71cb2c
Some fixes
2019-11-18 19:10:56 +02:00
Daniel Dakhno
30e098db93
added "show last notification" button function
2019-11-17 20:54:49 +01:00
mamutcho
4ff17153b6
Add weather icon
2019-11-17 17:02:51 +02:00
Daniel Dakhno
03e8925d9e
fixed unknown button setting exception
2019-11-17 15:56:44 +01:00
mamutcho
be47541a5e
Add new features
...
- Inactivity reminder
- Missed call reminder
- Watch language
2019-11-17 14:33:26 +02:00
Daniel Dakhno
ca18e1fe34
added button index hint
2019-11-17 05:03:23 +01:00
Daniel Dakhno
e04cd474dc
user can now assign a few more functions to buttons
2019-11-17 04:55:12 +01:00
Daniel Dakhno
7f5c432b82
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-11-17 01:13:00 +01:00
Daniel Dakhno
2cbc47defa
made buttons work with fossils api
2019-11-17 01:10:02 +01:00
Andreas Shimokawa
d60ceffb81
Amazfit Bip: Whitelist BipOS 0.5 firmware/res (non-latin)
2019-11-16 21:47:14 +01:00
Daniel Dakhno
1bdaa55937
code cleanup and crc handling
2019-11-16 03:02:29 +01:00
Daniel Dakhno
56d5b95181
adjusted some MTU specific file handling
2019-11-16 02:14:45 +01:00
Daniel Dakhno
5cab9fa9da
fixed notification count sync
2019-11-15 01:17:22 +01:00
Andreas Shimokawa
25bb16b0c3
Make button action setting per-device, enable for amazfip bip
...
TODO:
- preference migration
- support vibration on bip
2019-11-14 12:33:36 +01:00
Daniel Dakhno
63b4ffe555
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into q-hybrid-fossil-api
2019-11-14 04:58:32 +01:00
Daniel Dakhno
34c9652962
fixed duplicate vibration settings
2019-11-14 04:57:27 +01:00
Daniel Dakhno
161236f3a2
fixed file upload bug
2019-11-14 04:56:34 +01:00
Daniel Dakhno
64b407da92
added mtu transactions
2019-11-14 04:53:19 +01:00
mamutcho
24439008ab
Add watch power mode and DND
2019-11-10 23:15:13 +02:00
mamutcho
3a2b718f09
Blood Pressure calibration
2019-11-09 22:16:10 +02:00
mamutcho
bf3889e519
work progress
2019-11-08 19:24:50 +02:00
mamutcho
33f18036d3
FIXES:
...
- Cleaned code for repeat watch vibration during phone ring.
- On my samsung phone and Bulgarian language, when call is ended, on watch shows notification with name "Phone" and vibrates until disconnect from app. Finally managed to fix it.
ADD:
- Add setting for ignore/reject phone call with device button.
- Add setting for ignore/reject phone call with shake device. (duplicates button action) P.S. to apply needs to reconnect device.
- Add setting for sending Missed call if call is missed.
- Add setting for continious vibration while phone ringing.
NEED MORE TESTING:
- When phone alarm trigger - send notification on watch. Works on samsung phone. Don't have other phones for testing.
P.S. To apply altitude calibration, need to disconnect and reconnect watch
2019-11-06 23:56:24 +02:00
mamutcho
81997e7725
FIXES:
...
- Fixed setting for repeat watch vibration during phone ring. (code need to be cleared and optimised)
- On my samsung phone, when call is ended, on watch shows notification with name "Phone" and vibrates until disconnect from app. I tryed to fix it, but don't know is it successful.
ADD:
- Add command for cancel notification, e.g. when answer phone call.
- Add blood pressure calibration status.
NEED MORE TESTING:
- On watch preserve small phone icon near bluetooth icon only when call is missed, in other cases clear it.
- When phone alarm triger - send notification on watch
P.S. To apply altitude calibration, need to disconnect and reconnect watch
2019-11-06 00:14:29 +02:00
vanous
53ce25a30c
Add Set Activity Fetch Time to debug to set lastSyncTimeMillis
2019-11-04 21:59:29 +01:00
vanous
c1d024876d
Add forward/backward buttons to charts
2019-11-04 20:42:59 +01:00
dakhnod
016ae8be13
still don't know what is goind on with uploading files...
2019-11-04 02:47:38 +01:00
mamutcho
54f4bbeeef
Add Device settings - altitude
...
Add repeat notification on phone call - need to refine
Add command for cancel text notification
2019-11-04 00:41:48 +02:00
Daniel Dakhno
1318b58ad2
changed request handling
2019-11-03 20:46:51 +01:00
mamutcho
fb08af6d04
Add Device settings (screen on, time format, disconnect reminder, find my phone).
...
Changed device icon.
2019-11-02 22:24:00 +02:00
Andreas Shimokawa
2b0656c9c0
Amazfit GTS: Enable flashing firmware (untested)
2019-10-31 15:30:05 +01:00
Andreas Shimokawa
a3cd99a4a3
Huami: move notification code from AmazfitBipSupport to HuamiSupport
...
probably fix notifications on GTS
2019-10-31 14:28:24 +01:00
Daniel Dakhno
fc9016e98e
refactored requests
2019-10-31 02:46:33 +01:00
Daniel Dakhno
e955330268
added exception notifications
2019-10-31 01:58:06 +01:00
Daniel Dakhno
00b66d45e7
fixed file upload issue (i hope at least)
2019-10-31 01:57:55 +01:00
Daniel Dakhno
66c677bcf9
added request
2019-10-31 01:57:23 +01:00
Daniel Dakhno
22aa823d35
improved bonding process and fixed some lint errors
2019-10-30 17:37:58 +01:00
Daniel Dakhno
d690dff5ca
fixed nah nah.
2019-10-30 16:43:29 +01:00
Daniel Dakhno
c09683de3d
implemented nah.
2019-10-30 16:42:44 +01:00
Daniel Dakhno
77fdce3cf2
adjusted FileUploadRequest
2019-10-30 16:28:59 +01:00
Daniel Dakhno
25a67b2ebb
updated some requests, still dunno why some files time out...
2019-10-30 02:50:00 +01:00
Manuel Ruß
0159657bd5
- AmazfitGTS Run basic functionalities (read data, ...)
2019-10-29 22:44:03 +01:00
mkusnierz
8f9466ee1c
Initial support for sleep data retrieval
2019-10-29 22:34:31 +01:00
mkusnierz
4069021924
Retrieve historical HR data from Watch X Plus and save to DB (WIP).
2019-10-28 22:55:34 +01:00
Andreas Shimokawa
42312bba60
Amazfit GTR: remove menu item settings, since we do not know how to do this yet
2019-10-28 15:41:55 +01:00
Daniel Dakhno
06d7568249
added some requests and logic
2019-10-28 12:35:22 +01:00
dakhnod
37d7df2d31
added some requests
2019-10-27 23:24:02 +01:00
dakhnod
7d5810fdf0
added some new api code
2019-10-27 23:21:21 +01:00
mkusnierz
7f085681c3
Added blood pressure measurement request and response handling.
...
Added heart rate history fetching (watch doesn't return data yet).
Steps data is saved to DB.
2019-10-27 18:04:38 +01:00
Andreas Shimokawa
3b42bdd42a
Amazfit Bip: Whitelist FW 1.1.6.34 (non-latin)and 1.1.6.32 (latin)
2019-10-26 23:56:04 +02:00
vanous
71b393932f
Add switch to set old/new style of sleep detection range
2019-10-26 10:39:15 +02:00
Daniel Dakhno
0fe97c687d
created api specific abstraction layer
2019-10-25 19:13:55 +02:00
Daniel Dakhno
7710b9ea2a
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into q-hybrid-abstraction
2019-10-25 14:35:05 +02:00
vanous
31ce36e335
Add alternative color to heartrate in charts
2019-10-24 22:59:52 +02:00
Andreas Shimokawa
4110f0764a
Amazfit GTR: enable firmware flashing for those who dare (untested)
2019-10-24 22:35:57 +02:00
mkusnierz
4728d5b4d0
Perform Watch X Plus authorization request on each connect
2019-10-24 22:23:45 +02:00
Andreas Shimokawa
c2c240d7be
Amazfit GTR: Enforce auth key input when pairing, try to fix notifications
2019-10-24 21:51:10 +02:00
Andreas Shimokawa
cbd47a81cc
Amazfit GTR: initial support for testing
2019-10-24 21:41:11 +02:00
Daniel Dakhno
187600b076
added abstraction layer
2019-10-24 19:44:35 +02:00
mkusnierz
18d1a7ddc7
Use builder.queue() instead of performImmediately()
2019-10-23 23:32:40 +02:00
mkusnierz
45054bbcd9
Extracted some commons for Lenovo watches
2019-10-23 22:07:38 +02:00
HardLight
d627577e6f
Mi Band 4: Enable Emoji Font setting
2019-10-23 20:14:02 +03:00
vanous
21525adaae
Add uncommited second occurance of the same
2019-10-21 21:12:07 +02:00
vanous
7ed2c26b2f
Catch crash during ChangeLog displaying
2019-10-21 21:08:09 +02:00
dakhnod
90f685c1a7
improved activity hand handling
2019-10-21 15:15:59 +02:00
dakhnod
a2060470f8
changed parameter from byte to enum
2019-10-21 15:14:32 +02:00
dakhnod
b7277f02a6
fix notification lookup crash
2019-10-20 13:11:00 +02:00
mkusnierz
4601d827ae
Display calibration button for Watch X Plus
...
Use calibration activity from Watch9 for now
Partial heart rate history handling (WIP)
2019-10-20 10:34:29 +02:00
dakhnod
aeba34cc81
using getActiveNotifications when possible
2019-10-20 03:01:45 +02:00
dakhnod
2ebafa9eda
added ability to control activity hand via tasker/intent
2019-10-20 02:30:29 +02:00
dakhnod
30488989b1
fixed missing function
2019-10-20 01:44:35 +02:00
dakhnod
2a96f762af
added option to track notification count with activity hand
2019-10-20 01:42:31 +02:00
dakhnod
b6c744c8c6
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-19 23:55:55 +02:00
mkusnierz
34d9bccb86
Retrieve steps count
...
Tried to set weather, but without success
Handle ACK response
Enabled alarms
2019-10-18 23:36:56 +02:00
mkusnierz
290a90ec0e
Handle notifications with long body
2019-10-18 09:42:31 +02:00
mkusnierz
cf61ab9d38
Fixed battery level parsing from response
...
Added basic notification support
2019-10-18 00:02:53 +02:00
vanous
5c0c5ed952
Check for non empty list of sleep sessions
2019-10-17 14:35:45 +02:00
vanous
b5e3374a9e
Limit sleep charts range
2019-10-17 14:35:45 +02:00
Cre3per
395f63d3c1
makibes hr3 now pairs/bonds.
...
that way gb can reconnect after the band was disconnected.
2019-10-17 14:33:05 +02:00
Cre3per
45184c4bbc
makibes hr3 should now support the english version
2019-10-17 14:33:05 +02:00
Daniel Dakhno
58e81f04c6
added readable model names
2019-10-16 14:58:11 +02:00
Daniel Dakhno
0d60d308aa
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-16 14:57:22 +02:00
Andreas Shimokawa
5caa8e9097
Amazfip Bip Lite: Support firmware installation
...
Closes #1681
Closes #1682
2019-10-15 20:34:09 +02:00
Maciej Kuśnierz
2acb65b745
Merge https://github.com/Freeyourgadget/Gadgetbridge
...
# Conflicts:
# README.md
2019-10-13 00:18:00 +02:00
Andreas Shimokawa
074994d24b
Merge branch 'master' into fossil-q-hybrid
2019-10-12 20:47:19 +02:00
Andreas Shimokawa
7b5e333601
Skip service scan if supported device could be recognized without uuids during discovery
2019-10-12 20:15:09 +02:00
Andreas Shimokawa
4bf37ea70f
Mi Band 4/Amazfit Bip Lite: Display a toast and do not try to pair if there was no auth key supplied
2019-10-12 19:44:45 +02:00
Andreas Shimokawa
8fefd1b49e
* Mi Band 4/Amazfit Bip Lite: Trim white spaces and new lines from auth key
2019-10-12 19:04:12 +02:00
Andreas Shimokawa
80c902e568
Amazfit Cor 2: Enable Emoji Font setting and 3rd party HR access
2019-10-12 13:04:33 +02:00
Cre3per
c4f4f5081d
added vibrator to FindPhoneActivity.
...
added device settings for find phone.
makibes hr3 now uses GBDeviceEventFindPhone.
2019-10-12 12:44:38 +02:00
Cre3per
4437220c54
makibes hr3.
...
added quite hours.
2019-10-12 12:44:38 +02:00
Cre3per
5570ac8349
makibes hr3.
...
added fakeBattery.
fixed string comparison using operator.
2019-10-12 12:44:38 +02:00
Cre3per
1262970494
makibes hr3.
...
added lost reminder support.
2019-10-12 12:44:38 +02:00
Cre3per
4c98d8537f
makibes hr3.
...
added hud to device settings.
2019-10-12 12:44:38 +02:00
Cre3per
ec88a7d8e5
makibes hr3.
...
fixed step counting (needs multi-day testing).
fixed signed byte to int conversion.
2019-10-12 12:44:38 +02:00
Cre3per
fdffe813f2
makibes hr3.
...
download progress notification (needs to be tested).
2019-10-12 12:44:38 +02:00
Cre3per
cd3558cd50
makibes hr3.
...
fixed long notifications a a nullptrexception.
added vibration timeout.
added step history download.
2019-10-12 12:44:38 +02:00
Cre3per
da1a72c6c6
makibes hr3.
...
implemented deleteDevice.
implemented heart rate history download.
cleaned up sample handling.
2019-10-12 12:44:38 +02:00
Cre3per
c0a6566410
makibes hr3.
...
corrected alarm slot count.
2019-10-12 12:44:38 +02:00
Cre3per
40696cb3e6
makibes hr3.
...
added multi-byte command support.
now uploading personal data to the watch.
2019-10-12 12:44:38 +02:00
Cre3per
5e581f781a
added todos
2019-10-12 12:44:38 +02:00
Cre3per
fe667ffdd8
added makibes hr3 todo and heart rate constants
2019-10-12 12:44:38 +02:00
Cre3per
0a7639877b
fixed alarm repetition
2019-10-12 12:44:38 +02:00
Cre3per
81aa66c2d4
removed todo.
...
fixed typo.
2019-10-12 12:44:38 +02:00
Cre3per
8b7d853097
merged.
...
added makibes hr3 OnSharedPreferenceChangeListener.
added makibes hr3 reverse find device (find phone).
added makibes hr3 heart rate/steps/firmware version.
2019-10-12 12:44:38 +02:00
dakhnod
a2a0bc08dd
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-11 22:35:50 +02:00
Daniel Dakhno
b7a660ae58
allows to set custom notification icons per device
2019-10-11 20:15:38 +02:00
Daniel Dakhno
28ff99f534
adjusted to use custom icon
2019-10-11 03:49:59 +02:00
Daniel Dakhno
01728ecf11
allows to set custom notification icons per device
2019-10-11 03:49:08 +02:00
Andreas Shimokawa
5c3c81fe6f
do not recogize bip lite as bip
2019-10-10 21:21:19 +02:00
Daniel Dakhno
ca9761c336
adjusted DiscoveryActivity to use new scan
2019-10-10 02:09:23 +02:00
Daniel Dakhno
009888b688
fixed coordinator to filter device specific service
2019-10-10 02:06:37 +02:00
Daniel Dakhno
52ca3d3625
fixed coordinator to filter device specific service
2019-10-10 01:24:17 +02:00
Andreas Shimokawa
8d27ad1996
another try at bip lite support
2019-10-09 21:33:55 +02:00
Andreas Shimokawa
b5e9727dcd
Make some more settings per-device settings
...
- All ID115 settings migrated, allowing removal from settings activity
- All timeformat settings for all devices migrated
- All wrist location settings for all devices migrated (now you can have a mi band 3 on the left wrist and a bip on the right wrist :P)
Also deduplicated some strings from zetime/generic preferences
2019-10-05 22:35:30 +02:00
dakhnod
ea1653d616
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-05 19:09:07 +02:00
dakhnod
59e318dee1
notification does not requre hands any more
2019-10-05 18:59:52 +02:00
MyTimeKill
a0e3e060cc
Amazfit Bip: Whitelist fw 1.1.6.30 latin, res and latin ft
2019-10-03 22:18:01 +09:00
Andreas Shimokawa
21a287f6b1
Makibes HR3: Make settings per-device
...
Also so some minor cleanups on Makibes HR3 code
2019-10-02 23:45:19 +02:00
Cre3per
7409281c5a
very basic makibes hr3 support
2019-10-02 23:06:33 +02:00
MyTimeKill
8df99bf5bd
Amazfit bip: Support flashing latest latin font
2019-10-02 18:00:34 +09:00
dakhnod
73a698d5db
formatting
2019-10-01 21:57:01 +02:00
dakhnod
8be08d8c2c
added battery characteristic notification
2019-10-01 21:53:41 +02:00
Daniel Dakhno
71f9675768
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-01 17:09:52 +02:00
Daniel Dakhno
ebab69a063
added firmware check on connect
2019-10-01 16:05:47 +02:00
Marc Nause
a4c7cdb2a5
Show toast in case no app is installed which can handle GPX files
2019-09-29 18:48:13 +02:00
dakhnod
b20963348d
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-09-25 00:22:57 +02:00
dakhnod
5ce5b5d8a4
replaced BatteryLevelRequest with native characteristic
2019-09-25 00:21:16 +02:00
dakhnod
f912ae28a2
adjusted settings activity
2019-09-25 00:19:59 +02:00
Q-er
371ac276a5
Allow multiple sleep sessions per day
2019-09-22 21:34:03 +02:00
Andreas Shimokawa
744848fae7
register a fake PhoneStateListener on startup once, so that Lineage OS privacy guard asks for permissions
...
Closes #1649
2019-09-21 10:07:58 +02:00
Andreas Shimokawa
814f322e2a
Amazfit Bip: Recogize Amazfit Bip Lite as Amazfit Bip
2019-09-20 21:51:04 +02:00
cpfeiffer
17f24c06f8
Fix some LGTM issues
2019-09-19 23:18:17 +02:00
Andreas Shimokawa
e491a8c21d
no not refresh whole activity when deciding whether fab should be shown or not
2019-09-17 14:02:35 +02:00
Andreas Shimokawa
4641e51715
Fix possible KitKat crash in NotificationListener
...
Also fix some more warnings
2019-09-17 13:37:03 +02:00
vanous
29375be3e2
Refresh ControlCenterv2 on menu exit
2019-09-17 13:25:57 +02:00
Andreas Shimokawa
8374a2b8f8
Widget: also try to signal sleep/steps updates for pebble
2019-09-16 23:18:12 +02:00
Andreas Shimokawa
fcc9ad8f95
Widget: Also update for Pebble Misfit and Morpheuz
...
This commit also removes GBDeviceEventSleepMonitorResult since it was unused and highly Morpheuz specific
2019-09-16 22:48:21 +02:00
Andreas Shimokawa
a63cd90876
Widget: signal new data for No1F1 and ZeTime also
...
Pebble is still missing - since data is pushed and not fetched...
Will think about it.
2019-09-16 22:31:36 +02:00
Andreas Shimokawa
89c7066d32
Widget: Only signal new data only when syncing activity data (not on fetching logs etc), do the same for Mi Band 1
2019-09-16 22:25:58 +02:00
vanous
43bfa791ad
Adds plurals to a string of the Widget.
2019-09-16 20:45:21 +02:00
vanous
c58b980208
Connect device button settings and logic
2019-09-14 00:42:09 +02:00
vanous
b3d1068870
Change color, refresh charts
2019-09-14 00:24:40 +02:00
vanous
132e92041e
Split preferences, add chart settings activity, add button
2019-09-14 00:24:40 +02:00
Sebastian Kranz
194f5b04ae
Enable the unicode emoji support, even if the zetime has only some of the most used emojis on board.
2019-09-14 00:20:07 +02:00
Sebastian Kranz
0a6d0bd178
Add method to set the language of the watch. Note: Android Studio seems to have done automatic code formatting here.
2019-09-14 00:20:07 +02:00
Andreas Shimokawa
876515f1fd
Amazfit Cor: support custom emoji font
...
This commit refactors code and implements a custom device specific string
filter, which does nothing by default.
The implementation in HuamiSupport does the custom emoji conversion.
The setting has been moved from devicesettings_amazfitbip.xml to an extra file
As soon as there is a custom font for Mi Band 2/3/4 it is sufficient to add
"devicesettings_custom_emoji_font.xml" to the list of supported settings
in the appropriate coordinator and everything will work.
2019-09-14 00:05:39 +02:00
vanous
cf28ee48f4
add .apply()
2019-09-07 22:41:35 +02:00
vanous
975b698564
remove preference keys when deleting device
2019-09-07 22:41:35 +02:00
vanous
3d6ddb8d5e
make look nicer - font, uri string, buttons positions
2019-09-07 11:07:40 +02:00
vanous
503fe854eb
Add test button, @stringify strings, add headers
2019-09-02 23:06:39 +02:00
Andreas Shimokawa
4780c26dd8
Widget: change float to int where appropriate, remove code that did nothing from getTotalsStepsForActivityAmounts()
2019-09-01 22:48:52 +02:00
Andreas Shimokawa
3389fcdfdd
Widget: Fix null pointer exception when a device which has no activity database is used in Gadgetbridge
...
For example a vibratissimo :D
2019-09-01 22:35:02 +02:00
Andreas Shimokawa
8eb494ab85
Widget: some cleanups
...
- use LocalBroadcastManager when broadcasting new data event
- use constants for actions everywhere and move them
2019-09-01 22:09:09 +02:00
vanous
957d441859
Add Status and Alarms widget
...
Squashed commits from #1604
2019-09-01 21:35:53 +02:00
Nephiel
b40c3ade85
Amazfit Bip: Add emoji support when using custom font firmware
2019-08-31 22:32:18 +02:00
Andreas Shimokawa
ce9eab8def
Mi Band 4: really fix sending weather location
...
Really fixes #1609
2019-08-31 22:14:50 +02:00
Andreas Shimokawa
8f4489a21c
Mi Band 4: Fix call notifcation not stopping when call gets answered or rejected on the phone
...
This changes the way to how to stop call notification for all Huami device back to Mi Band 2
Also clean up unused code
Fixes #1612
2019-08-29 08:32:29 +02:00
Andreas Shimokawa
b38b83377c
Mi Band 2: enable third party hr sensor access setting
...
This works but since the Mi Band 2 has no "status" menu or activities, live activity has
to be started (charts swipe to right), but that spams the database...
2019-08-28 10:11:15 +02:00
Andreas Shimokawa
243eec042d
Mi Band 3/4, Amazfit Bip/Cor: Add setting to expose the HR sensor to 3rd party apps
...
Closes #1606
2019-08-27 11:13:45 +02:00
Andreas Shimokawa
da2e073dc2
Mi Band 4: Whitelist latest stable and beta firmware
2019-08-25 20:23:53 +02:00
Andreas Shimokawa
d07ca6faa6
Mi Band 4: Fix location not being updated on the Band
...
Also move generic code from AmazfitBipSupport to HuamiSupport where is belongs
Fixes #1609
2019-08-25 09:56:06 +02:00
Andreas Shimokawa
984db60c5f
Fix formatted values for charts
2019-08-24 12:55:33 +02:00
Andreas Shimokawa
a69a139602
Migrate to upstream MPAndroidChart v3.1.0
2019-08-24 12:41:26 +02:00
vanous
2d233141b4
adds custom renderer for better view of many columns
2019-08-24 11:58:32 +02:00
Andreas Shimokawa
8bed673a95
Annotate LineageOsWeatherReceiver as Android >=M, and only try to use it with Oreo or later
2019-08-22 21:31:08 +02:00
keeshii
a70aa5e749
Added LineageOs Weather receiver.
2019-08-22 21:28:13 +02:00
Andreas Shimokawa
5f998d8a95
add stripped down version of weather part of lineage sdk
...
Makes it possible to use the lineage weather provider without binary jar
(This is based on 63a590625c6c76f82e5ef43408a52238b2b34e43 of https://github.com/LineageOS/android_lineage-sdk )
2019-08-22 21:19:03 +02:00
Andreas Shimokawa
aec3d21216
Mi Band 4: remove unsupported DND setting from settings menu
2019-08-22 10:20:45 +02:00
Andreas Shimokawa
c1145e1244
Mi Band 4: Support flashing the V2 font that came with beta FW 1.0.6.00
...
Only tested with 1.0.6.00
It now contains new characters like äöüß and others.
2019-08-21 23:24:51 +02:00
ksiwczynski
0f6ef140e2
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge
2019-08-17 02:07:55 +02:00
Andreas Shimokawa
d7c6fad235
Mi Band 4: decode swim info (not used yet)
...
After swimming a lot on the sofa and desk this seems right and in line with the data displayed on the band
swimming styles I got so far are breast and freestyle. Others are probably missing.
Might be correct for Cor also (I don't have one)
2019-08-15 11:14:41 +02:00
Andreas Shimokawa
13b078aadd
fix verison typo (before I get a PR again :P)
2019-08-14 19:40:10 +02:00
Andreas Shimokawa
c17c3ed341
Improve parsing and debug output for activity summaries from Mi Band/Amazfit
2019-08-14 19:24:09 +02:00
Andreas Shimokawa
26165f9117
Amazfit Bip/Cor: Fix resetting of last fetched date for sports activities
...
For Mi Band 3/4 this does nothing, since the Mi Band seems to remove the activities from the Band immediately after fetching
2019-08-14 19:24:03 +02:00
Andreas Shimokawa
320f792d19
Add icons for "swimming" and "exercise"
...
Also set tint color to gray (for dark theme) and remove duplicate sleep icon
2019-08-14 07:55:10 +02:00
Andreas Shimokawa
b5ea3ca591
Hexdump sports activity packets for better analysis
...
type 2 seems to be pause, 3 resume.
type 8 and seems to be related to swimming activites
2019-08-13 23:02:10 +02:00
Andreas Shimokawa
f99bc0de64
Move another file from AmazfitBip to Huami which is no longer Bip specific
2019-08-13 22:20:18 +02:00
Andreas Shimokawa
ff7886765f
Add Swimming to sport activity types, rename some AmazfitBip stuff to Huami (these were things introduced with the bip but working with other devices now also)
2019-08-13 22:04:52 +02:00
vanous
a263059317
Modify charts range based on settings. More/Less labels density.
2019-08-13 14:30:54 +02:00
vanous
80bd31d894
Modify Charts Fragment's Titles
2019-08-13 14:30:54 +02:00
vanous
28fde846ea
Modify getTitle(). Probably not visible, but done for completness.
2019-08-13 14:30:54 +02:00
vanous
3017742cba
Added type to intent when sharing
2019-08-12 14:16:20 +02:00
vanous
5fe4ea7246
Clean commented code
2019-08-12 14:13:20 +02:00
vanous
7809655ef4
Add Average Settings. Addformat method to get average.
2019-08-12 14:13:20 +02:00
vanous
f11628b42b
Add Averages to Charts
2019-08-12 14:13:20 +02:00
Konrad Iturbe
da59991aa5
Use Rebble Store URI
2019-08-12 14:07:37 +02:00
Andreas Shimokawa
0fd4d523a0
Amazfit Bip: Whitelist new firmware versions I tested
2019-08-07 17:24:01 +02:00
Andreas Shimokawa
57a235742d
Properly disable new ble scanning for testing
...
(inverted logic committed accidentially)
2019-08-03 23:40:07 +02:00
Andreas Shimokawa
461842a945
fix copyright header for newly added file
2019-08-02 23:52:25 +02:00
Andreas Shimokawa
02d02d2329
Add Initial Mijia LYWSD02 support (Smart Clock with Humidity and Temperature Sensor)
...
This only sets the time on connect.
2019-08-02 23:49:14 +02:00
Andreas Shimokawa
aefd7520f3
Mi Band 3/4, Amazfit Cor/Bip: set language immediately when changing it (not only on connect)
...
Helps testing
2019-08-02 00:11:11 +02:00
Andreas Shimokawa
97540d734f
Mi Band 3/4: Allow enabling the "NFC" menu where supported
...
Pretty useless, because we do not support NFC - but nice for testing
2019-08-01 23:07:28 +02:00
dakhnod
8db0812ed0
fixed settings bug
2019-08-01 22:39:34 +02:00
dakhnod
961eb1c4ce
adjusted battery threshold
2019-08-01 01:02:48 +02:00
dakhnod
b089ad7531
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-07-29 00:56:32 +02:00
Andreas Shimokawa
124d03d171
Mi Band 4: Enable music info support (displays now on the band)
2019-07-28 14:34:04 +02:00
Andreas Shimokawa
261ddee707
Mi Band 4: Support setting date format (for built-in watchfaces)
2019-07-26 21:05:16 +02:00
Andreas Shimokawa
8d567c1e6d
fix build
2019-07-26 19:37:00 +02:00
dakhnod
32a2402048
removed Toast.makeText
2019-07-26 18:11:29 +02:00
dakhnod
f4d484f698
removed getDelegate()
2019-07-26 18:00:31 +02:00
dakhnod
1e936e4a85
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-07-26 17:57:12 +02:00
dakhnod
50483dd271
added UI elements and Activity data fetch
2019-07-26 16:43:38 +02:00
dakhnod
0b572505b3
removed DeviceSupportService hack
2019-07-26 16:42:53 +02:00
Andreas Shimokawa
8449e55f9e
Amazfit Cor: Fix empty menu on Amazfit Cor 2
...
Fixes #1563
2019-07-26 08:57:41 +02:00
Andreas Shimokawa
17599a797a
remove unused imports
2019-07-25 22:33:41 +02:00
Andreas Shimokawa
31db568832
Mi Band 4: Fix RES and FW update
2019-07-25 22:18:48 +02:00