Andreas Böhler
76aebd4e20
Add support for displaying music info
2019-01-06 11:31:50 +01:00
Andreas Böhler
81df586fbd
Fix music controls
2019-01-06 11:31:50 +01:00
Andreas Böhler
2c2d07067d
Add initial support for Casio GB-6900B
2019-01-06 11:31:50 +01:00
cpfeiffer
fb85326939
performConnected() -> builder.qeueue(getQueue())
2019-01-03 00:44:34 +01:00
jcrode
c69be1f94b
Pebble: add support for weather information for watchface M7S
...
Watchface name: Multifunctional Seven Segment
Repo: https://github.com/cfg1/pebble-mss
2018-12-27 16:20:29 +01:00
Matthieu Baerts
22904667b8
emoji: do a lazy initialisation
...
The goal is not to slowdown the startup but also to do this
initialisation only when it is needed.
Suggested-by: cpfeiffer
2018-12-23 23:39:09 +01:00
Matthieu Baerts
c845e16cfa
amazfitbit support: fix typo
...
senderOrTiltle -> senderOrTitle
2018-12-23 12:52:49 +01:00
Matthieu Baerts
8d78c45e7d
messages: convert emoji's to supported chars
...
Some devices don't support emoji's and display a series of `?` chars.
Instead of that, replace them by `:<emoji>:` text, e.g. `A 🐱 ` is
replaced by `A 🐱 `.
This is done by using 'android-emojify' project and their
`EmojiUtils.shortCodify(text);` function.
For more details about this lib released under MIT license:
https://anitrend.github.io/android-emojify/
2018-12-23 12:52:49 +01:00
Daniele Gobbetti
87d41bf09f
Amazfit Cor: Whitelist firmware 1.7.20 and res 69 (stable)
2018-12-19 20:33:41 +01:00
Andreas Shimokawa
0e6c0e8926
Mi Band 3: Whitelist FW 2.2.0.14
...
Closes #1365
2018-12-16 16:11:43 +01:00
Andreas Shimokawa
b020d59f54
Implement factory reset feature in debug activity
...
Implemented for Mi Band 1/2/3, Cor, Bip
Could be implemented for Pebble by deleting all blobdbs etc
Related to #109
2018-12-16 16:06:12 +01:00
Andreas Shimokawa
29a5878d22
Mi Band 3: Whitelist FW 2.2.0.12
...
Closes #1353
2018-12-09 17:55:29 +01:00
Andreas Shimokawa
983bc606a4
Amazfit Bip: Allow flashing latest (beta?) GPS firmware
...
Closes #1358
2018-12-09 17:26:56 +01:00
Andreas Shimokawa
740cf103f6
Initial support for per-device alarms and raising the number of available alarms
...
TODO:
- Fix alarm widget (how can we get the deviceId?)
- Get rid of GBAlarm in favour of DAO generated Alarm class
- Find better defaults
- Bonus: migrate old preferece based shared settings
2018-11-24 12:16:47 +01:00
Andreas Shimokawa
59f8e72410
Notification actions refatoring and fixes
...
- Fixes "Mute, Open, Dismiss" to work again on pebble
- Greatly reduces complexity in PebbleProtocol, since all logic for adding specific reply actions to notification have been moved to generic code
Fixes the rest of #1336 (the part that says "Additionally, dismissing a notification on the watch no longer dismisses it on the Android device")
2018-11-15 15:53:04 +01:00
Andreas Shimokawa
d6a06d0c16
Amazfit Bip: Whitelist Firmware 1.1.5.04
...
Closes #1333
2018-11-13 19:34:03 +01:00
Andreas Shimokawa
3207d32818
Amazfit Bip: Whitelist Firmware 1.1.5.02
2018-11-08 17:53:24 +01:00
Andreas Shimokawa
3f062e5732
Amazfit Bip: Attempt fixing GPS tracks recorded with latest firmware
2018-11-08 17:13:00 +01:00
Andreas Shimokawa
10b982f0ea
Pebble: Proper fix for crash when no replies are set
...
Also:
- Support for multiple reply actions with canned replies (there must have been a crash before)
- When no replies are set use the firmware internal defaults
Fixes #1323
2018-11-08 08:36:37 +01:00
Andreas Shimokawa
8b3ba38344
Mi Band 3: Whitelist FW 2.0.0.4
2018-11-08 07:12:49 +01:00
Andreas Shimokawa
78addcb75c
Pebble: try to prevent crash when no canned replies have been set
2018-11-07 22:02:58 +01:00
cpfeiffer
5644ae5925
Display measured hr value in Debug activity + cleanup
...
Fixes #1320
2018-11-05 23:27:29 +01:00
Andreas Shimokawa
61872b7bbd
Mi Band 3/Amazfit Bip/Amazfit Cor: Send Fahrenheit if units are set to imperial
...
Closes #1315
2018-11-03 20:44:30 +01:00
Andreas Shimokawa
fcfcc5cb0b
Pebble: unify code for 2.x and >= 3.x notification encoding
...
Not very clean but deduplicated a lot of code which was no longer maintainable twice
2018-11-02 21:10:31 +01:00
cpfeiffer
effffddd8d
fixed lgtm warnings
2018-11-02 00:09:30 +01:00
José Rebelo
ca32a2b5ac
Start new activity with FLAG_ACTIVITY_NEW_TASK ( fixes #1306 )
2018-11-01 22:49:02 +01:00
cpfeiffer
7e9a9ca875
Added a TODO
2018-11-01 22:05:38 +01:00
cpfeiffer
435898ebc9
Move MiBand3-ism to MiBand3Support
2018-11-01 22:05:38 +01:00
Daniele Gobbetti
549dfce2e7
Pebble: generalize handling of incoming actions (from watch)
...
Also add missing casts back to int in NotificationListener
2018-11-01 19:40:26 +01:00
Andreas Shimokawa
7c0c50e960
Pebble: fix non-working SMS reply regression
2018-11-01 19:12:43 +01:00
Andreas Shimokawa
5fc2a704a3
Pebble: Always allow reply action even if untested features are turned off
2018-11-01 17:02:33 +01:00
Andreas Shimokawa
f05cc83848
Pebble: set MIN_ACTION_LENGTH = 6, which is correct
2018-11-01 16:02:29 +01:00
Andreas Shimokawa
f3e16c5b1d
Pebble: Fix regression causing "Open on Phone" and "Dismiss" to appear on Pebble notification with no corresponding Android notification (i.e. PebbleKit notifications)
2018-11-01 14:55:14 +01:00
Daniele Gobbetti
eede85a9c9
Various improvements and bugfixes to notification handling
...
Prevent duplicate notifications with a dedicated data structure (not reusing
the anti-burst one) #1062 , #657
Pebble: Forward the actions attached to notifications (not only reply)
inspired by the work of dnastase #705
2018-10-31 21:47:12 +01:00
Andreas Shimokawa
dde8a5044f
Mi Band 3: Whitelist FW 1.8.0.0
2018-10-28 15:32:57 +01:00
José Rebelo
e62fe36391
Roidmi 3: Fix and enable support
2018-09-28 16:35:09 +01:00
Andreas Shimokawa
b1b318a18b
Amazfit Bip: Allow flashing latest gps firmware from Mi Fit 3.5.1.1 (Mili_dth.gps)
...
This file seems to be for the Bip2, but firmwares.json also refereces this for the Bip.
And it seems to work.
2018-09-23 12:02:34 +02:00
cpfeiffer
60397c88c0
Avoid possible NPE
2018-09-23 11:27:35 +02:00
cpfeiffer
6d4d92fd88
Live Activity: don't enable notifications every second
...
This caused the BLE queue to fill up more and more.
2018-09-17 23:02:18 +02:00
cpfeiffer
934f36f45a
Use ActivityUser.defaultUserStepsGoal instead of hardcoded values
...
ActivityUser has room for improvement, though.
2018-09-16 20:49:00 +02:00
cpfeiffer
8c1a1861e4
Fix some static analysis warnings
2018-09-16 13:59:16 +02:00
cpfeiffer
c1de677448
Remove redundant null checks
2018-09-16 13:58:01 +02:00
cpfeiffer
100ed9f50c
Use \n as line endings
2018-09-16 13:55:57 +02:00
cpfeiffer
5028458fe8
Fix some static analysis warnings
2018-09-16 13:54:56 +02:00
cpfeiffer
08dfa2a47d
Log the stacktrace as well
2018-09-16 00:12:52 +02:00
cpfeiffer
f142003f09
Avoid boxing
2018-09-16 00:12:40 +02:00
cpfeiffer
898165ce0b
Avoid lots of false static analysis warnings
2018-09-15 23:30:39 +02:00
cpfeiffer
87bee53ef3
Add a tiny bit of javadoc
2018-09-15 22:43:45 +02:00
cpfeiffer
f9e600d369
Deduplicate code
2018-09-15 22:38:20 +02:00
cpfeiffer
d6f5e36e12
Huami devices: Fix seldom fetch failures (better support for app level ble feedback)
...
Fixes #1264
2018-09-15 22:24:27 +02:00