Sebastian Kranz
6781e1e14a
Rework onNotification function: Assemble the message and send decide, which icon should show up on the watch. Email support seems broken in newest firmware (1.7 Build 41) of the watch!
2018-07-12 07:30:41 +02:00
Sebastian Kranz
888d08ae77
Replace performConnected() with builder.queue(getQueue()) to write the commands and data to the watch.
2018-07-11 11:59:32 +02:00
Sebastian Kranz
c1673554ee
Better use bit shifting and masks to avoid negative values.
2018-07-11 07:17:40 +02:00
Sebastian Kranz
f3264fab0a
Fix typo.
2018-07-11 06:49:01 +02:00
Sebastian Kranz
7d8d484133
Merge branch 'master' into zetime
2018-07-10 06:48:20 +02:00
jonnsoft
09a36aa5e7
MiBand3 pairing fix
...
(cherry picked from commit 3656ed9648b28475c35764da8a5cbeb420cfc307)
2018-07-09 22:56:16 +02:00
cpfeiffer
f2ff1991da
Comment out chatty debug output
2018-07-09 22:55:20 +02:00
Andreas Shimokawa
3236e20657
Amazfit Bip/Cor: rework fimware detection to rely on strings instead of version numbers
...
The new version scheme and the fact that recent Bip and Cor firmwares are
impossible to distinguish by comparing data at fixed offsets make it necessary
to dynamically search for sequences of data. We do this now by searching for
"Amazfit Bip Watch" and "Amazfit Cor".
2018-07-08 12:16:26 +02:00
Sebastian Kranz
edee0904ff
Add all activity data to the database; at the moment not all are displayed. Try to fix value calculations, because negative results do not make sense here. Restrict the body length from notification to the max value of 256 characters.
2018-07-06 21:59:30 +02:00
Sebastian Kranz
0a37b8ef87
Fix music control. Now everytime the track changes the correct title is displayed. Set limits for volume up and down. Set a initial value of 50% at connect...
2018-07-06 20:33:45 +02:00
Sebastian Kranz
c2d608b0ef
Add time synchronization. Some values/parameters are fixed at the moment, which shouldn't be maybe.
2018-07-06 08:19:04 +02:00
Sebastian Kranz
fec1f1afc6
Fill function to to add a calendar event at the day view.
2018-07-05 10:28:27 +02:00
Sebastian Kranz
7c65fa4fc0
BUGFIX: correct the length needed if a string includes multi bytes. Because a character is encoded of up to 4 bytes. Fix using the correct progess and available variables for the activities. Also restict the volume up and down commands to 16 steps.
2018-07-05 07:25:17 +02:00
Andreas Shimokawa
6e34d313c7
Mi Band 3: allow setting language (english and spanish work)
2018-07-04 23:32:35 +02:00
Sebastian Kranz
ed20f69cc4
Add functionality to control the music playback from the watch. Not sure if all of this is correct. Having issues that the track title isn't updated until you issue a play, pause command from either the phone or watch.
2018-07-04 14:52:21 +02:00
Sebastian Kranz
6882127bec
Add function to sync weather data to the watch, translate weather codes to icons.
2018-07-04 07:09:50 +02:00
Sebastian Kranz
497372f377
Add support for sending some generic notifications for incoming calls, missed calls, sms, email, social and messenger.
2018-07-03 13:09:46 +02:00
Andreas Shimokawa
a3e22d573f
Amazfit Bip: Whitelist FW 1.0.2.00
2018-07-01 23:26:03 +02:00
Martin
91cbdfde10
added time limited on auto-fetch, and removed the creation of multiple autoFetchReceivers
2018-07-01 22:57:48 +02:00
Andreas Shimokawa
d1cba54425
Mi Band 3: Allow flashing fonts (untested)
2018-07-01 22:41:37 +02:00
Andreas Shimokawa
9303214997
Amazfit Cor: allow flashing fonts (seem to be the same as for bip, untested)
2018-06-30 00:32:29 +02:00
Andreas Shimokawa
87f9424ee3
Amazfit Bip: allow flashing latest beta firmware
2018-06-29 23:04:38 +02:00
Sebastian Kranz
59095dc29b
Clean-up the merge.
2018-06-29 11:18:36 +02:00
Sebastian Kranz
1b152c86ea
Merge branch 'master' into zetime
2018-06-29 10:43:11 +02:00
Sebastian Kranz
5e236e113f
Fix function to put step data into database, using the full unix epoch now. Add function for putting sleep and heartrate data into the database.
2018-06-28 13:48:41 +02:00
Konrad Iturbe
0f38c9a30e
Add RomanPort's AppStore Endpoint ( #1126 )
2018-06-27 09:02:55 +02:00
Sebastian Kranz
789fba95d1
Add function to check available activities and then get them. Add function to get the steps. First try to get the data into the database.
2018-06-27 09:01:26 +02:00
Andreas Shimokawa
2dda978453
Amazfit Bip/Cor: Fix scheduled setting for "display on lift wrist" preference
...
Fixes #1102
2018-06-26 17:43:54 +02:00
Sebastian Kranz
3539dd3e34
Get the also the device firmware version. Add function for messages that are broken down into two transmissions, because of their length.
2018-06-26 07:29:11 +02:00
Andreas Shimokawa
49a5f349b0
Amazfit Cor: Whitelist FW 1.0.7.88
...
Closes #1104
2018-06-25 21:37:26 +02:00
License Bot
225a600aed
Update license headers
2018-06-25 18:35:46 +02:00
Andreas Shimokawa
979a44a077
Mi Band 2: Grey out "rotate wrist to switch info" when "activate display upon lift" in not enabled in preferences
...
Closes #1124
2018-06-24 22:05:45 +02:00
Andreas Shimokawa
9d01989b27
remove unused import
2018-06-24 21:00:33 +02:00
Sebastian Kranz
e18b043d27
request activity info with a function.
2018-06-24 12:25:34 +02:00
Daniele Gobbetti
6807714af3
Register autofetch receiver in DeviceCommunicationService
...
This allows the register to be registered only when the device is connected,
and also toggling without completely exiting the application.
The logic in the receiver itself was simplified and an explanation added
to the preference summary.
2018-06-23 11:19:09 +02:00
Daniele Gobbetti
2a30e9486c
Reduce the amount of lines in the logcat for binary dumps
...
Concatenate the binary values instead of logging one byte per line.
2018-06-23 11:15:03 +02:00
Kranz
65f12bc1ee
Fix error inside the isMsgFormatOK function. Add DeviceInfoHandler to read the hardware info and notify about battery level.
2018-06-22 07:20:45 +02:00
Sebastian Kranz
1213ecc344
Add function for requesting device info and battery level.
2018-06-21 19:56:13 +02:00
Andreas Shimokawa
c6b23041f7
Pebble: Always connect to SDP UUID on NON-LE Pebble
...
Fixes #726
2018-06-20 22:06:45 +02:00
Daniele Gobbetti
f99895da0c
Remove activity transfer toast, add title to the transfer notification
...
Also create a separate channel that allows "muting" transfer notifications
on android oreo and above.
2018-06-19 22:03:49 +02:00
Martin
36aae1e81c
Auto sync feature ( #1127 )
...
* Auto fetch feature
fixes #1116
2018-06-19 21:54:15 +02:00
Daniele Gobbetti
b81de63b30
Use checkboxes for notification and pebblemsg blacklist
...
also support dark theme and add a menu entry for accessing blacklist functionality
2018-06-19 18:26:06 +02:00
Daniele Gobbetti
d55d551943
Add overflow menu to blacklist and whitelist all installed applications
...
Fixes #679
2018-06-18 21:29:12 +02:00
Andreas Shimokawa
3f06a8c2a6
Rename file to match class name.
2018-06-18 21:22:34 +02:00
Daniele Gobbetti
2ca8e4a4e4
Forward notifications marked as local only if they are emitted by skype
...
Also add skype for business package name.
Blind implementation as I don't have access to these apps.
Fixes #1109
2018-06-18 20:52:26 +02:00
Daniele Gobbetti
4d0020ae1d
Add the option the blacklist applications also for Pebble Messages
...
Fixes #996
2018-06-18 20:38:37 +02:00
Daniele Gobbetti
2f4c9ef0d9
Keep the embossed logo visible behind the device cards.
2018-06-18 20:27:38 +02:00
Daniele Gobbetti
3c00332a77
Always stop BT/BTLE discovery when exiting the Discovery Activity
...
Hopefully solves the leaks
2018-06-18 20:26:28 +02:00
Daniele Gobbetti
45ecdaa213
Pebble: Webview: do not use the contextWrapper if it's null.
...
It should never happen but I had a crash on API 19, possibly a race condition
somewhere.
2018-06-18 20:23:23 +02:00
Andreas Shimokawa
9bcae3e000
Amazfit Bip: Whitelist FW 0.1.1.45
2018-06-16 23:35:02 +02:00