Sebastian Kranz
88ba3e8e14
merge master branch
2018-09-06 14:46:25 +02:00
Carsten Pfeiffer
7b709dd975
Merge pull request #1250 from haditim/persianTransliteration
...
Persian transliteration
2018-09-05 23:33:34 +02:00
Roi
b3e8e92441
fix long word bug in Rtl support
2018-09-05 23:21:18 +03:00
Roi
3e6ddcc714
fix long word bug in Rtl support
2018-09-05 23:19:35 +03:00
Roi
5a1733f5ec
Add Farsi contextual form
2018-09-05 22:44:40 +03:00
Carsten Pfeiffer
449184c591
Merge pull request #1253 from skweee/android9callerid
...
Fix caller ID for incoming calls on Android 9
2018-09-05 21:37:24 +02:00
cpfeiffer
4f7e5b256a
Use constants for "rtl" and "contextualArabic" preferences
2018-09-05 21:32:06 +02:00
Carsten Pfeiffer
e67398af87
Merge pull request #1233 from roigreenberg/master
...
Adding RTL support
2018-09-05 20:48:15 +02:00
Johannes Tysiak
d4ea5dfd44
Fix caller ID for incoming calls on Android 9
...
Fixes #1252
2018-09-05 20:41:01 +02:00
M. Hadi
ddecab7d25
Changes Persian transliteration such that it does not alter Arabic. Test should run fine now. Also added punctuations.
2018-09-05 10:08:10 +02:00
Roi Greenberg
761d8327f9
Add Unittest for Rtl + some small fixes
2018-09-05 01:39:01 +03:00
cpfeiffer
19ee3a14d4
Handle batter state LOW without a level
...
Fixes #1197
2018-09-04 22:31:12 +02:00
Carsten Pfeiffer
5e4ecd774b
Merge pull request #1181 from Dikay900/remove_invalid_hr_data
...
remove incorrect HR data <10 from the graphs
2018-09-04 21:08:21 +02:00
Roi
f233ad79fa
move fixRtl to Rtlutils
2018-09-04 02:00:14 +03:00
Roi
e35240c91e
fix bugs.
...
Use getDirectionality instead of serchinf areas
2018-09-04 01:10:54 +03:00
Dikay900
a844db7927
do not use synchonized singleton for HeartRateUtils
2018-09-02 12:59:38 +02:00
Dikay900
64da085942
make heart rate values configurable and use singleton for heartrateutils
...
to listen for preference changes
2018-09-02 12:57:52 +02:00
Roi
5503c562a3
test
2018-09-02 05:04:32 +03:00
Dikay900
71447d0a8f
remove incorrect data <10 from the graphs
2018-09-01 19:28:20 +02:00
José Rebelo
c973c2f4c6
Roidmi: fix duplicated DeviceType key
2018-09-01 13:20:38 +01:00
Carsten Pfeiffer
ece0f094eb
Merge pull request #1236 from uroybd/master
...
Better Bengali transliteration.
2018-09-01 09:35:23 +02:00
Utsob Roy
91ddb2c3dd
Removed unnecessary containsKey check.
2018-09-01 08:59:57 +06:00
Utsob Roy
6a293bd40a
Done the recommended edits, added more testcases, and fixed a bug.
2018-09-01 00:38:15 +06:00
José Rebelo
2fe4b84a10
Roidmi: Initial Support
...
Roidmi 3 support is disabled for now, since it is not working.
2018-08-31 14:03:47 +01:00
José Rebelo
cc6c57bd4c
Add support for LED Color, FM Frequency
2018-08-31 14:03:39 +01:00
Daniele Gobbetti
3e989cd89a
Amazfit Cor: Whitelist FW 1.2.5.00 and RES
2018-08-29 21:33:38 +02:00
License Bot
696653eabf
Update contributors list and license headers.
2018-08-29 21:30:23 +02:00
M. Hadi
5460de37d2
Improved Persian transliteration
...
Persian (Farsi) transliteration was incomplete and most of the characters were proposed according to Arabic transliteration which would be confusing for Persians. I changed some of them and added new ones like question mark, etc.. Please note that Persian has several "z" and "s" since the language alphabet share a lot of similarity with Arabic. However, these are all pronounced the same way in Persian and it makes more sense to have the same character for all in each group.
2018-08-29 16:45:15 +02:00
Andreas Shimokawa
b8c7bb2c2e
Amazfit Bip: whitelist firmware 1.1.2.05
2018-08-28 22:19:53 +02:00
Andreas Shimokawa
13ff40c7a5
Mi Band 3: Whitelist some firmware version I tested
2018-08-28 22:10:58 +02:00
Roi Greenberg
280a2f56e9
Merge branch 'master' into master
2018-08-28 23:10:51 +03:00
Pavel Elagin
6904a62d41
Add share log file. Issue #1146
2018-08-28 21:50:12 +02:00
José Rebelo
9fda67b297
Mi Band 3: Night Mode
2018-08-27 22:54:37 +02:00
kalaee
915ad99886
Added Scandinavian characters
2018-08-27 21:58:23 +02:00
Roi
1ece83374b
Add some docstring
2018-08-26 02:09:50 +03:00
Roi Greenberg
6b57809646
Fix missing space
2018-08-26 02:06:45 +03:00
Roi Greenberg
deee908fb0
Convert Arabic to contextual form
2018-08-25 22:31:14 +03:00
Roi
5a9e47cec4
remove debug logs and add documentation
2018-08-25 22:31:13 +03:00
Roi
5697ebc8ea
Add rtl support
2018-08-25 22:31:12 +03:00
Utsob Roy
98e747c5f5
Various Fixes
...
1. Updated test.
2. Fixed a composite letter issue.
3. Moved some redundant codes to a function.
2018-08-24 22:33:25 +06:00
Utsob Roy
8f12f10bfe
added some comments. [master]
2018-08-24 20:57:38 +06:00
Utsob Roy
8ca1b6e864
better bengali transliteration. [master]
2018-08-24 14:42:27 +06:00
José Rebelo
fa1e9b8938
Support minimum time between notifications
2018-08-19 11:07:58 +01:00
Andreas Shimokawa
ffc6bd5a73
Mi Band 3: Also fix diplay of SMS and EMAIL
...
We have to send a fake app source that is never displayed to make the text appear... :P
2018-08-19 00:51:04 +02:00
Andreas Shimokawa
3d70314e8c
Mi Band 3: Fix messages not being displayed (send app source with notifications and use chunked characteristics where available)
...
This also sends the app name for Bip and Cor, which is actually displayed when there is no icon (unknown app for the device)
Fixes #1203
2018-08-19 00:35:50 +02:00
Andreas Shimokawa
c81965b88d
Mi Band 3: Raise limit of RES files to 150000 bytes
...
Fixes #1223
2018-08-18 23:02:36 +02:00
Carsten Pfeiffer
c4411a9c48
Merge pull request #1206 from UncleInf/transliterate_lithuanian
...
Adding Lithuanian transliteration
2018-08-18 13:08:40 +02:00
Aniruddha Adhikary
b942db166e
add Bengali Transliteration
2018-08-18 13:05:15 +02:00
cpfeiffer
d93799e72a
Improve Teclast H1 and H3 device matching #1207
2018-08-18 12:57:21 +02:00
cpfeiffer
50295864f5
Use a custom IntentListener callback instead of LocalBroadcastManager for ble profiles
...
The issue here is the following:
- we used intents in the generic BleProfile classes to notify about the results of e.g. certain read requests
- we used to send these results asynchronously via LocalBroadcastManager.sendBroadcast(), which always used the main thread for sending
- however, we noticed that reconnecting to devices sometimes failed because the results arrived too late and the next action in the BLE queue lacked the necessary information
- the fix was to use LocalBroadcastManager.setBroadcastSync(), so that the results arrive in time
- this unfortunately meant that they were not sent in the main thread anymore, and especially, this would send all pending intents that were previously queued via sendBroadcast() also in the "wrong" thread (in order to keep the order of events)
The fix is to use a custom IntentListener callback interface for synchronous notifications of ble profile results
*without* also causing other, previously queued intents to be sent.
Fixes #1218
2018-08-18 00:39:14 +02:00
cpfeiffer
98cd54657a
Avoid unnecessary boxing
2018-08-17 00:28:00 +02:00
cpfeiffer
f96b10cca0
Avoid potential NPE
2018-08-17 00:19:10 +02:00
cpfeiffer
0b63fa1c59
Remove some (now) unnecessary casts
2018-08-17 00:13:38 +02:00
cpfeiffer
0145013597
Add some @Nullable
2018-08-17 00:13:38 +02:00
Carsten Pfeiffer
26fcb3cbbb
Merge pull request #1212 from elagin/legend_wordwrap_center
...
Enable word wrap and set center horizontal alignment for legend into …
2018-08-16 23:58:00 +02:00
Carsten Pfeiffer
73f699c602
Merge pull request #1207 from Dougal19/master
...
Support added for H3 watch strap
2018-08-16 23:54:33 +02:00
Pavel Elagin
354ab79285
Display start and end sleep. #164
2018-08-16 17:59:56 +03:00
Pavel Elagin
65d36d2c81
Enable word wrap and set center horizontal alignment for legend into ActivitySleepChart and WeekSleepChart
2018-08-15 18:03:32 +03:00
Dougal19
e520cf57eb
Test add support for H3 watch strap
2018-08-13 17:49:38 +01:00
Andreas Shimokawa
74f47c8e2e
Mi Band 3: Support setting language to German, Italian, French, Polish, Japanese, Korean
...
NOTE:
- Needs latest firmware
- Setting to Japanese or Korean leads to empty menus on the device. When
reconnecting you, will get a sceen which telling you to update. I highly
suspect it requires flashing Mili_wuhan.ft.kj (kj=korean,japanese)
2018-08-13 00:00:46 +02:00
Thomas
93dcb2be0d
Adding Lithuanian transliteration
2018-08-12 11:31:35 +03:00
Andreas Shimokawa
3bb75a62be
Mi Band 3: whitelist tested firmwares
2018-08-12 00:28:27 +02:00
Andreas Shimokawa
b48b52b175
Mi Band 3: Make order of menu items on screen deterministic again
...
(This partly reverts the logic of the previous commit)
2018-08-12 00:16:56 +02:00
José Rebelo
470efa3e51
Mi Band 3: Change display items
2018-08-12 00:00:38 +02:00
Daniele Gobbetti
9517fa211e
Intercept alarm actions of the google clock application
...
Implemented blindly based on the information provided in #1199
Fixes #1199
2018-08-10 18:36:29 +02:00
Pavel Elagin
76d704cb04
Misprints
2018-08-10 00:00:12 +02:00
José Rebelo
338251597b
Mi Band 3: Band screen unlock
2018-08-09 23:41:25 +02:00
José Rebelo
b671289a49
Mi Band 2/3: New icon
2018-08-09 23:41:25 +02:00
Carsten Pfeiffer
4a07c63381
Merge pull request #1194 from elagin/string_toString
...
Redundant String.toString()
2018-08-08 21:34:45 +02:00
Carsten Pfeiffer
95e39cabba
Merge pull request #1190 from maxirnilian/watch9
...
Watch 9: Initial support
2018-08-08 21:16:59 +02:00
Daniele Gobbetti
797a671ccd
Amazfit Cor: only send music information when needed
2018-08-08 17:48:23 +02:00
Pavel Elagin
723b5af50f
Redundant String.toString()
2018-08-08 12:55:25 +03:00
Andreas Shimokawa
da58e22afe
Only start MusicPlaybackReceiver if device supports music info
...
Also block sending music info in HuamiSupport if device does not support it
2018-08-07 12:44:00 +02:00
cpfeiffer
e15afaab2f
Probe connected devices first for firmware installation
2018-08-06 23:13:59 +02:00
Daniele Gobbetti
3fac021ff2
Amazfit Cor: implement basic music controls
...
Play/pause and skip to previous/next song work. The currently playing song
name is shown on the Cor. The track length and progress are now shown as
we don't know how to send these yet.
2018-08-06 23:11:40 +02:00
cpfeiffer
cc3c70b161
Send results of AbstractBleProfile synchronously
...
This should fix issues like a ConditionalWriteAction failing with an NPE when GBDevice.getFirmwareVersion() returns null even though the DeviceInfoProfile had already received the firmware version (but the intent notification has not been received yet).
2018-08-06 20:51:28 +02:00
cpfeiffer
ec0d62f67b
If firmwareRevision is null, use softwareRevision
2018-08-06 20:26:39 +02:00
cpfeiffer
92bd3122f3
Improve logging
2018-08-06 20:22:10 +02:00
cpfeiffer
f7c9828cc1
Avoid potential NPE
2018-08-06 20:22:10 +02:00
maxirnilian
4ff04870ca
Watch 9: Initial support
2018-08-06 18:30:38 +02:00
Andreas Shimokawa
88714ece4d
Amazfit Bip: fix current weather not being displayed with latest firmware
2018-08-05 15:27:28 +02:00
protomors
fd68700b9a
NO1 F1: Set time during initialization.
2018-08-05 00:09:43 +02:00
protomors
343239ff9e
NO1 F1: Fixed typo.
2018-08-05 00:09:43 +02:00
cpfeiffer
5bca05caac
Fix loop condition!
2018-08-04 23:10:11 +02:00
Andreas Shimokawa
fe401bdcf5
Amazfit Cor: allow music control
2018-08-02 22:35:02 +02:00
Andreas Shimokawa
66391e10c9
Amazfit Cor: Allow to enable music menu on device
2018-08-02 22:29:52 +02:00
Andreas Shimokawa
cc7f6d7263
More Huami refactoring
...
- Rename MiBand2Service to HuamiService
- Move preferences around (Mi Band 2 has its own device specific settings now)
- Fix Cor menu items not syncing immediately in settings
- Try to support settings menu items on Mi Band 3 (buggy, disabled code for now)
2018-08-02 10:55:30 +02:00
Andreas Shimokawa
f464604b27
Amazfit Cor: Fix notification menu not being enabled
2018-08-01 23:13:36 +02:00
Andreas Shimokawa
c247efc720
add missing file
2018-08-01 22:58:41 +02:00
Andreas Shimokawa
486d7bdca6
Amazfit Cor: Allow setting menu items
...
(Also rename/refactor stuff from Mi Band 2 to Huami - still WIP)
2018-08-01 22:56:01 +02:00
cpfeiffer
16fb1a584d
Errors during activity track timestamp fixup should be non-fatal
...
So just log them. #1134
2018-08-01 19:49:09 +02:00
cpfeiffer
df84927954
Fix filename generation and add testcasce
...
Fixes #1169
2018-08-01 19:33:33 +02:00
cpfeiffer
7f1c0521ea
Small fixes to activity point timestamp fixup
2018-08-01 19:33:33 +02:00
szilardx
14a086c1f3
Add missing ActivityPoints and timestamp
2018-08-01 19:33:33 +02:00
Vadim Kaushan
e3408197f2
Merge remote-tracking branch 'upstream/master'
2018-07-31 09:18:50 +03:00
cpfeiffer
163b547395
Remove level_list_device.xml, just use the DeviceType icon
2018-07-30 22:49:00 +02:00
Vadim Kaushan
9a13d5ea4a
ID115: code cleanup
2018-07-30 23:24:20 +03:00
Vadim Kaushan
fd7a0cb124
ID115: fetching activity data
2018-07-30 23:23:13 +03:00
Vadim Kaushan
caabe0ed0a
ID115: use SendNotificationOperation for message and call notifications
2018-07-29 21:30:31 +03:00
Vadim Kaushan
14dc3ad9c5
ID115: add supportsFindDevice() function
2018-07-29 19:34:34 +03:00
Vadim Kaushan
458a363f11
Merge remote-tracking branch 'upstream/master'
2018-07-29 19:31:40 +03:00
José Rebelo
18b13b7772
Add missing break
2018-07-27 14:39:01 +01:00
José Rebelo
a43934651a
Allow devices to not support being found
2018-07-27 14:38:33 +01:00
Daniele Gobbetti
2147ab4948
Revert "Revert "remove unused getPrimaryActivity() from coodinators, mark Mi Band HRX as non-heartrate""
...
This reverts commit 63231ec49a
.
Please note that the comment of the reverted commit was inaccurate, as the Mi Band HRX was left untouched by it
and is left untouched byt this commit.
2018-07-27 15:13:21 +02:00
cpfeiffer
63231ec49a
Revert "remove unused getPrimaryActivity() from coodinators, mark Mi Band HRX as non-heartrate"
...
This reverts commit 495ba81edc
.
See discussion in https://github.com/Freeyourgadget/Gadgetbridge/issues/1165
2018-07-27 13:15:10 +02:00
dakhnod
63cb70ac9a
Fix missing sourceAppID field
2018-07-23 02:50:05 +02:00
Daniele Gobbetti
2da6749a40
Add activity kind (if known) to gpx filename
...
Fixes #1161
2018-07-22 16:14:36 +02:00
Daniele Gobbetti
67a1191a3c
Use UTC timezone in GPX points
...
Fixes #1152
2018-07-22 16:14:36 +02:00
Daniele Gobbetti
a5dd88df53
Fix discovery on devices with Android version < Lollipop
...
also reduce the amount of lines logged in discovery activity.
2018-07-22 16:14:36 +02:00
Daniele Gobbetti
290c6c53fb
Fix wrong mapping yahoo weather conditions to openweathermap.
2018-07-22 16:14:36 +02:00
Andreas Shimokawa
e96dcc69ab
Amazfit Bip: try to support weather in newer firmwares
2018-07-21 17:18:08 +02:00
Andreas Shimokawa
d1253348dc
Mi Band 3: whitelist tested firmware, res and font
2018-07-19 12:00:17 +02:00
Andreas Shimokawa
eef38d4680
Only use 0x00 as auth flags on Mi Band 3 - to not disturb other devices
2018-07-17 00:29:36 +02:00
Andreas Shimokawa
aa143577f8
Amazfit Cor: Support language switching on newer firmwares
...
I shamelessly assumed the firmware version (chose the version that was included in the same Mi Fit version when bip started to support the new command)
2018-07-16 15:18:46 +02:00
Vadim Kaushan
b6bd100f28
ID115: remove useless debug messages
2018-07-16 15:50:29 +03:00
Vadim Kaushan
65fbb4da5b
ID115: wrist setting
2018-07-16 15:48:37 +03:00
Andreas Shimokawa
f2aa71e32c
Amazfit Bip: Support Russian language.
...
Closes #1145
2018-07-16 14:36:52 +02:00
Andreas Shimokawa
46f3686764
Mi Band 3: Also send AQI for weather to make current temperature appear
2018-07-16 14:19:02 +02:00
Sebastian Kranz
c30ec7d407
BUGFIX: use newer weather icons, if firmware build is B41 or higher. The new firmware supports 24 icons, older ones have only 6.
2018-07-16 13:41:59 +02:00
Andreas Shimokawa
dc1e831630
Mi Band 3: Fix Pairing, this MIGHT break pairing for other devices (Bip/Cor/Mi Band 2)
2018-07-16 13:38:51 +02:00
Vadim Kaushan
c43a564a47
Merge remote-tracking branch 'origin/master'
2018-07-15 00:53:47 +03:00
Vadim Kaushan
a94e0b9463
ID115: log IO exceptions
2018-07-15 00:46:11 +03:00
Carsten Pfeiffer
1030a118a4
Merge pull request #1148 from Lightwars/zetime
...
Add MyKronoz Zetime support
2018-07-14 22:23:07 +02:00
Vadim Kaushan
fe9ec9b88a
ID115: screen orientation preference
2018-07-14 13:23:21 +03:00
Vadim Kaushan
02b3f23329
ID115: set steps goal
2018-07-13 15:00:16 +03:00
Sebastian Kranz
18202bffbd
Fix timestamps of activities, cause the watch reports them with 6 hours offset.
2018-07-13 13:24:47 +02:00
Vadim Kaushan
d66e9e6a8b
ID115: change device icon
2018-07-13 14:22:17 +03:00
Vadim Kaushan
c9e7a2ff1d
ID115: notification support
2018-07-13 14:08:11 +03:00
Vadim Kaushan
4bea2a3407
ID115: fix logger name
2018-07-13 13:54:19 +03:00
Sebastian Kranz
e54930788b
Add a divisor and divide the rawintensity to normalize it. It would be better to scale the divisor based on all steps of the day or something like that.
2018-07-13 11:06:21 +02:00
Sebastian Kranz
99bdb4a30a
Use evaluteGBDeviceEvent to send events to the app/android system, instead of calling directly the handle ufunctions.
2018-07-13 10:35:18 +02:00
Sebastian Kranz
f0174d904a
Bugfix: calendar needs the date as number. Add comment about converting date digits to characters.
2018-07-13 10:10:41 +02:00
boun
11c545362a
Do not crash inside the emulator ( #1150 )
...
As there is no bluetooth support in the emulator
2018-07-12 18:25:18 +02:00
Vadim Kaushan
36b956aed6
ID115: set manufacturer string
2018-07-12 16:53:57 +03:00
Vadim Kaushan
8a0263d3ff
ID115: Fix date calculation
2018-07-12 15:57:00 +03:00
Vadim Kaushan
814ca76733
ID115: basic support
2018-07-12 15:48:09 +03:00
Vadim Kaushan
26a1f97e43
ID115: coordinator
2018-07-12 15:47:08 +03:00
Vadim Kaushan
0e1331f172
ID115: declare device type
2018-07-12 15:45:00 +03:00
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
Kranz
c611042e51
Add more commands. Add message check function.
2018-06-15 13:40:16 +02:00
Kranz
89c8c9cdfb
First communication test between ZeTime and GB. Ask about activitys, sleep and heart-rate infos available. ZeTime responds correctly
2018-06-15 11:23:44 +02:00
Andreas Shimokawa
99dec159f7
Mi Band 3: add untested and incomplete support
...
This also improves firmware/RES probing to distinguish Mi Band 2/3 firmware files and Mi Band 3/Bip RES files.
Notes:
- Firmware flashing should might but is untested
- This basicall runs off the Amazfit Bip code which will probably incorrect (Mi Band 3 is proabably something between the Bip and the Mi Band 2)
2018-06-14 18:16:49 +02:00
Andreas Shimokawa
3dd1929436
Huami devices: Minor refactoring
2018-06-14 16:30:43 +02:00
Sebastian Kranz
48affad220
Add some UUIDs and Cmds. Connect further.
2018-06-08 16:28:05 +02:00
Kranz
905f49101b
Set activity support to true. Add bonding style none.
2018-05-29 12:57:08 +02:00
tiparega
3852f925da
Added support for Q8 devices
2018-05-20 19:52:08 +02:00
Andreas Shimokawa
d1368c2ed8
Amazfit Bip: Whitelist FW 0.1.1.41
2018-05-20 19:42:29 +02:00
Daniele Gobbetti
3c3e38741a
Pebble: remove the legacy countdownlatch on Pebble GATT server code
...
The GATTServer code is now in line with the new GATTClient code.
2018-05-19 22:42:05 +02:00
Daniele Gobbetti
f1736808cb
Auto connect at boot on recent androids respecting the user settings
...
Automatically connect at boot if gadgetbridge is configured to start at
boot and to attempt an automatic connection when bluetooth is available
Fixes #693 and fixes #891
2018-05-16 19:08:53 +02:00
Daniele Gobbetti
65b0d9da4b
Explicitly register the bluetooth state change receiver on Oreo
...
The implicit manifests declaration is not enough anymore
2018-05-16 19:03:06 +02:00
Daniele Gobbetti
d109630e74
Use TelephonyManager getCallState() instead of the provided extras
...
According to the documentation the current call state might be not correctly
contained in the extra, and using getCallState() is the right thing to do
Might help for #799 (and #756 )
2018-05-16 18:56:36 +02:00
Andreas Shimokawa
3b25181a32
Amazfit Bip: allow enabling shortcuts (weather, Alipay)
2018-05-15 23:12:18 +02:00
Daniele Gobbetti
e6748c34fc
Update the notification from DeviceManager instead of DeviceCommunicationService
...
Since the device object (local to DCS) is set to null on disconnect, the
notification could not get updated from within the receiver. DeviceManager
does not have such issues.
The problem appeared with 3f421facab
2018-05-13 20:19:09 +02:00
Andreas Shimokawa
f46c204c75
Amazfit Cor: Whilelist FW 1.0.7.52
...
Closes #1087
2018-05-12 22:20:49 +02:00
Andreas Shimokawa
511fef7f62
Pebble 2: when using client only mode, no not wait for PPoGATT ACKs after each package
...
This speeds up things up a lot. We should still somehow limit it, but not by waiting
after one PPoGATT ACK after each complete PP package.
This leaves the old mode untouched, so we have something to compare
2018-05-12 17:18:19 +02:00
Andreas Shimokawa
eb08e66674
Amazfit Cor: make sure that Veats firwmare does not get detected as a Cor firmware...
2018-05-12 00:15:14 +02:00
Andreas Shimokawa
746cb00460
Amazfit Cor: Fix recogition of new firmwares
...
Newer Cor and Bip firmwares seem to be indistinguishable,
What we do for now is use the version we already search for say
Bip firmwares are valid from 0.0.8.00 to < 1.0.5.00 (lastest as of today is 0.1.0.39)
Cor firmwares are valid from 1.0.5.00
This should work for a while.
Fixes #1095
2018-05-12 00:05:30 +02:00
Andreas Shimokawa
3f421facab
Always cleanup device and receiver in service when disconnecting
...
Fixes #1093
I have no idea why the code was like this, so the change might have some bad consequences...
2018-05-11 20:50:29 +02:00
Martin Piatka
00ee9b6828
Mi Band 2: wait at least 4s before sending notification text
...
This fixes notification text not displaying when a short vibration
pattern is set.
If the notification text is sent while the icon is still visible
it is not displayed. We need to wait until it disapears (about 4 seconds)
2018-05-11 18:07:50 +02:00
Andreas Shimokawa
9e2558beac
Pebble 2: make gatt client only mode available to users
2018-05-11 14:23:41 +02:00
Andreas Shimokawa
cdf6039d4c
Pebble 2: fixes for experimental client only gatt code
...
This basically makes sure that
- only one gatt write operation is in progress
- data is not sent from within callbacks to prevent a deadlock when waiting for a nre callback that cant happen yet beause the current has not been retuned
2018-05-11 13:21:40 +02:00
Andreas Shimokawa
f6131772d6
Pebble2: WIP broken and disabled GATT client only support
...
This will eliminate the need for the Phone being a GATT Server and might lead
to better connection stability once it is ready.
NOTE: Enabling this in the code (change clientOnly=true in PebbleLESupport)
will only work for a few packets before in totally breaks, so only enable
if you want to fix it :P
2018-05-10 22:03:03 +02:00
Andreas Shimokawa
bd012cab2a
fix typo
2018-05-07 22:20:18 +02:00
Andreas Shimokawa
5df799419e
Mi Band 2: 2hitelist Firmware 1.0.1.81
...
Closes #1070
2018-05-07 21:54:44 +02:00
Andreas Shimokawa
b585fde78a
Amazfit Bip: Raise .res limit to 700000 bytes for modded files
2018-05-06 16:34:14 +02:00
Andreas Shimokawa
8fe0c213cb
Amazfit Bip: Whitelist a bunch of new FW versions
2018-05-06 09:54:31 +02:00
Andreas Shimokawa
1996184d69
Amazfit Bip: fix fetching logs from device via debug menu
2018-05-03 23:31:18 +02:00
Andreas Shimokawa
c663ba190d
Amazfit Bip: try to fix byte sequence when setting menu items
2018-04-27 21:20:42 +02:00
Andreas Shimokawa
cf438618aa
Amazfit Bip: actually include FW 0.1.1.14 in the allowed firmwares that can change menu items
2018-04-27 21:05:52 +02:00
Daniele Gobbetti
fd664b9c67
Add proper mime type to shared gpx files
...
This prevents apps to show up in the intent chooser that do not know how
to deal with gpx files (e.g. Conversations)
2018-04-27 21:00:38 +02:00
Andreas Shimokawa
e1ef2455dc
Amazfit Bip: allow to set displayed menu item in firmware >=0.1.1.14
...
NOTE:
- You will have to be connected while doing the changes in preferences (FIXME)
- It might not work at all since I did not test after the latest changes :P
2018-04-27 09:28:33 +02:00
Daniele Gobbetti
d512585fae
More timezone fixes for android < 24
...
This change should turn travis green again.
Older version of android should get a proper 24h formatted timestamp.
Perhaps our export will be more compatible with external services as well
( #1076 )
2018-04-24 21:00:22 +02:00
Daniele Gobbetti
c71eba9483
Hotfix for connection issues on API < 24
...
Fix #1055 properly, as the previous change was not solving the issues
on API < 24. This affected the connection to some devices and caused a
crash on graph access.
2018-04-16 18:26:23 +02:00
Andreas Shimokawa
965964a6b7
Weather: get wind direction and speed also from CM weather reciver
2018-04-14 21:56:10 +02:00
Daniele Gobbetti
cc83021ae3
Weather (and Pebble Webview): fix name and add wind information to weather data
...
Wind information are stored and put in the reconstructed OWM response.
A long standing bug (having the "name" field inside "main" instead of at
the root level of the json) has been fixed
Lineage OS receiver and if possible weather notification app receiver will
be added in further commits.
See #482
2018-04-14 19:42:05 +02:00
cpfeiffer
19c6c4c88a
Fix refreshing of summaries
2018-04-13 20:27:31 +02:00
cpfeiffer
66063256a7
More improvements of GPX export, optimize nearest closest trackpoint finding a bit
2018-04-13 01:16:38 +02:00
AndrewH
1b9b5f821e
GPX export fixes ( #1060 )
2018-04-13 00:50:47 +02:00
Daniele Gobbetti
8f6d287592
Amazfit Bip: add option to reset the last fetched activity (timestamp)
...
Show a datepicker to reset the date after which the next activity will be fetched.
Also add .gpx extension to fetched activity track (if present) and make
the menu entries translatable.
Close #1057
2018-04-12 22:11:58 +02:00
Daniele Gobbetti
134905ed6a
Missing method needed by the previous commit.
2018-04-12 22:07:15 +02:00
Daniele Gobbetti
e7c10f3f01
Use a different DateTimeFormat on legacy android versions (<24)
...
Fixes #1055
2018-04-12 21:48:02 +02:00
Daniele Gobbetti
5af353d6dc
Amazfit Bip: limit the activities to the currently selected device in Control Center
...
Also don't reverse the results, but sort in the query
2018-04-07 10:16:36 +02:00
Taavi
b1e337d9b7
Update AndroidManifest.xml ( #1050 )
...
Request the MEDIA_CONTENT_CONTROL permission
Should fix a crash on Samsung Galaxy S8+ (dream2qltesq), Android 8.0 due to a missing required permission
2018-04-07 00:24:38 +02:00
cpfeiffer
b12286c892
Handle possible null return
...
Fixes #1052
2018-04-06 23:45:58 +02:00
Daniele Gobbetti
74dcec730c
Amazfit Bip: implement deletion and select all actions
...
Also add white-on-black icons for all the actions
2018-04-05 22:41:03 +02:00
Daniele Gobbetti
80addd3454
Amazfit Bip: Add Contextual Action Bar and long press to select
...
Change metaphor from long-press-to-contextual-menu to long-press-to-select
The multiple deletion is not functional, the share menu works
2018-04-04 21:38:27 +02:00
Daniele Gobbetti
4f3a0be897
Amazfit Bip: add FloatingActionButton to initiate activities fetching
...
The swipe to refresh still works for the time being
2018-04-02 21:22:28 +02:00
Daniele Gobbetti
27caa08a1b
Amazfit Bip: do not export GPX tracks if there is no point in the track
...
The approach ignores the activity types and only uses the presence of
valid lon/lan points in the track to create the GPX file or not.
2018-04-02 18:42:08 +02:00
Daniele Gobbetti
cd029e4853
Amazfit Bip: fixes to the activities activity
...
- Prevent the swipe-to-refresh unless we are on top of the list
- Show the most recent activities on top of the list
2018-04-02 15:53:19 +02:00
Andreas Shimokawa
12ca479439
Amazfit Bip: Various improvements to GPS track fetching
...
- stop refreshing state of swipe layout and refresh list after fetching
- allow fetching when device gets connected while being inside the activity
(#952 )
2018-04-02 10:15:26 +02:00
Andreas Shimokawa
e19c3f7ea0
Amazfit Bip: work around problems when syncing tracks in CEST
...
(#952 )
2018-04-02 00:22:55 +02:00
TaaviE
08feaf30e1
Fixed a bunch of misspells.
2018-03-31 17:31:48 +02:00
Andreas Shimokawa
29a05f1d8f
refactor onFetchActivityData() into onFetchRecordedData(dataTypes) to make it more generic
...
This removes misuse of testNewFunctionality() and support fetching GPS data and debug logs
Fetching debug logs (Amazfit Bip/Cor) is now accessible in the debug activity
Fetching GPS data can be done by swiping in the list activity.
TODO: actually refresh list when fetching data is done :P
Also fix some android studio warnings on the go...
2018-03-31 16:21:25 +02:00
Andreas Shimokawa
c493df2423
Merge branch 'bip-wip'
2018-03-31 11:31:03 +02:00
Andreas Shimokawa
4e496cf2af
Fix warnings in DiscoveryActivity and fix a potential NPE ( fixes #1048 )
2018-03-30 15:04:53 +02:00
Andreas Shimokawa
cf97677cdc
Amazfit Bip: Whitelist Firmware 0.1.1.14
2018-03-30 14:40:40 +02:00
Andreas Shimokawa
66bb0bd81b
Merge branch 'master' into bip-wip
2018-03-27 11:09:59 +02:00
Andreas Shimokawa
41632b8eb3
Only send dummy AQI to Bip, not to Cor
...
See #1033
2018-03-24 19:28:06 +01:00
Andreas Shimokawa
74f9798071
Amazfit Cor: try to send location
...
This could help #1033
2018-03-24 19:22:49 +01:00
Andreas Shimokawa
73cfeb8a7e
Mi Band 2: scheduling diplay on lift wrist does not work (only on Bip), make the on and off settings at least work again...
2018-03-24 00:00:25 +01:00
Andreas Shimokawa
e26dbc6812
Mi Band 2/Bip/Cor: allow to set a period when the display/background light gets enabled when lifting the wrist
...
Closes #1013
2018-03-23 23:30:28 +01:00
TaaviE
6be7ee4a96
Fixed a few misspells and extended my name.
2018-03-23 07:26:25 +01:00
cpfeiffer
d2c952ffa5
Improvements to the singleton pattern, better encapsulate fields
2018-03-18 12:59:32 +01:00
Daniele Gobbetti
ec1f4505bd
Pebble: prevent crashing when the ExternalPebbleJS Activity was not running
...
when receiving configuration data from the external browser.
Parse the passed data to load the correct watchface javascript, and ensure
the currently connected device is a Pebble (and try to reconnect if there
is no device connected, as a bonus)
2018-03-17 18:50:53 +01:00
Daniele Gobbetti
8e67f31309
Pebble Webview: check the availability of Internet Helper packages before
...
binding the service to it.
Could help with #643 , but it's a blind attempt.
2018-03-17 16:57:02 +01:00
Daniele Gobbetti
d286f497f0
Pebble: Iterate over knownKeys only if they are present.
...
Fixes #1027
2018-03-17 16:12:40 +01:00
Daniele Gobbetti
3e903362e6
Explicitly ask for RECEIVE_SMS permission at startup.
...
Should fix #1025
2018-03-17 15:58:44 +01:00
Andreas Shimokawa
a8fdcb50f3
fix bad merge from master
2018-03-13 21:17:14 +01:00
Andreas Shimokawa
3d3cc1f40c
Merge branch 'master' into bip-wip
2018-03-13 17:27:18 +01:00
Sergio Lopez
092e62bfad
Pebble: add support for weather in Simply Light watchface
...
Celsius forced as with other watchfaces #482
2018-02-28 22:42:47 +01:00
Daniele Gobbetti
d88badaf4d
Pebble JS: add transactionId metadata to the appmessage.
...
Removes the errors in Pebble-Casio-WV58DE as reported in #482
2018-02-28 21:56:46 +01:00
Ted Stein
1e0d7550d9
Add ta marbutah to Arabic transliteration.
...
Add ة, a normally-silent form of the letter ت that was missed when this
functionality was originally added.
2018-02-27 17:37:12 +01:00
Andreas Shimokawa
0ea5c3dee1
Charts: Ignore heart rate data if sample indicates that the device was not worn
...
Closes #1005
2018-02-26 22:06:56 +01:00
License Bot
238bacde9f
Update license headers
2018-02-26 14:27:33 +01:00
ladbsoft
d5978d9b30
Xwatch Basic Support ( #972 )
...
Initial XWatch support
* Activity syncing
* Multimedia control using the watch's button
2018-02-25 12:05:36 +01:00
cpfeiffer
6370c6cac1
Make sure to close the outputstream of the export
2018-02-24 21:02:53 +01:00
Andreas Shimokawa
6ebc763a4c
Amazfit Bip: whitelist firmware 0.1.0.86
2018-02-24 00:03:19 +01:00
Daniele Gobbetti
daabff1364
Blind attempt to fix crashing configuration page if bgJS is disabled
...
This might help #643 but I could not reproduce the reported issue
2018-02-23 18:56:05 +01:00
Daniele Gobbetti
e7a1e1b8c3
Move the connected device to top in control center
...
What happens in reality is that devices are sorted according to their
connection status first, and then by name. So even if/when we support
multiple device connection, the order should remain sane.
This closes #842 .
2018-02-19 18:27:48 +01:00
Andreas Shimokawa
669f4bcdd0
Mi Band 2: use native notification patterns instead of manually timed ones
...
What we do now is:
- Send a notification with the app icon
- Send the vibration pattern right away (this causes the first unwanted
vibration to be cancelled immediately and only the pattern is noticable,
while the icon stays on screen during the vibration pattern)
- (optional) send the text together with a generic sms icon
This also fixes problems of text not appearing in newer firmwares when
a notification pattern with repeat has been set in Mi Band settings.
2018-02-18 01:43:05 +01:00
Daniele Gobbetti
4f246b3ed9
Add Antox to the chat applications.
...
Notifications coming from the chat.tox.antox package are treated as chat
messages. This closes #910
2018-02-17 17:39:15 +01:00
Daniele Gobbetti
48b89f1bd2
Add Kontalk to the chat applications.
...
Notifications coming from the org.kontalk package are treated as chat
messages. This closes #994
2018-02-17 17:33:34 +01:00
Andreas Shimokawa
e48885df7d
Merge branch 'master' into bip-wip
2018-02-15 23:38:06 +01:00
Andreas Shimokawa
4d7c697497
Pebble: Fix for background javascript that tries to send floats or doubles
...
Also log further exceptions
Thanks @danielegobbetti for the original patch ;)
2018-02-14 23:20:22 +01:00
Daniele Gobbetti
e28333fe6e
Fixes to make the application run on Oreo
...
- tested on Oreo 8.1
this commit includes changes cherry picked from 3b6da66643
2018-02-14 21:35:22 +01:00
TaaviE
18cec2087f
Changed API version and everything else required.
...
(cherry picked from commit db1a282
)
2018-02-14 21:35:06 +01:00
cpfeiffer
78b50e82fa
Fix crash in settings activity with export location
...
The way this works will never be a fully working solution, because uris are
*not supposed* to be resolved to a filesystem path. So while this may work
right now, it will most probably fail in the future, with other content providers.
See e.g. https://github.com/iPaulPro/aFileChooser/issues where this code originally came from
(via Stackoverflow).
We won't crash anymore, but we won't support certain content providers. In the long run, we
should search for the proper solution.
Closes #982
2018-02-11 14:32:21 +01:00
Daniele Gobbetti
55d9ff0954
Amazfit Cor: Whitelist firmware 1.0.6.76
...
Reported as working on the issue tracker. Closes #984
2018-02-10 23:36:05 +01:00
Daniele Gobbetti
831303aea8
Fix regression introduced by 737578debc
...
With many thanks to https://github.com/80tf3262p8 who spotted the error
closes #975
2018-02-10 16:54:20 +01:00
Daniele Gobbetti
8ba56db786
Pebble Webview: refine response mimicking
...
- check the called domain to return (potentially) different messages
- mimic the online check of TrekVolle watchface
2018-02-10 16:53:35 +01:00
Daniele Gobbetti
81d4ca84a8
Add Polish 'Ł' and 'ł' to transliteration map
...
closes #987
2018-02-10 16:53:35 +01:00
Daniele Gobbetti
a29394b96e
Omnijaws Weather: correctly pick todays' min and max temperature
2018-02-10 16:53:35 +01:00
Andreas Shimokawa
b9c6b3bb8f
Amazfit Bip: Whitelist fw 0.1.0.70/80 and fonts
...
Also change the recommended flashing order of .fw .res and .gps
2018-02-08 22:41:16 +01:00
Andreas Shimokawa
ea4a4edc5b
Amazfit Bip: Fix language setting on new firmwares
2018-02-08 22:21:15 +01:00
Kranz
bd673fb4af
Initial device support for MyKronoz ZeTime, following the wiki page add new device support.
2018-02-08 07:21:12 +01:00
Andreas Shimokawa
e657b327c9
Pebble: only call Pebble object in javascript if it is actually available
2018-02-04 00:02:14 +01:00
Andreas Shimokawa
06929d04f9
Pebble: when faking the OWN response also set the "description" field with the current condition
...
Helps TrekVolle to display weather
2018-02-03 23:08:12 +01:00
Andreas Shimokawa
3871b6f0be
Amazfit Cor: Allow watchfaces to be flashed
...
Untested as Cor has no maintainer
2018-02-01 14:22:18 +01:00
Andreas Shimokawa
5973f189eb
Amazfit Bip: try to detect the font type not by the size
...
This could help modders
2018-01-30 23:28:49 +01:00
Andreas Shimokawa
95cc538575
Amazfit Bip: Allow language to be set to Spanish (needs firmware 0.1.0.66 beta, not recommended)
...
This also requires the latin font to be flashed before.
2018-01-30 23:06:08 +01:00
criogenic
0313500652
fix privacy caller ID selection ( #962 )
2018-01-30 22:44:27 +01:00
Andreas Shimokawa
0c907f0ba1
Amazfit Bip: whitelist 0.1.0.44 firmware
2018-01-27 23:03:47 +01:00
Andreas Shimokawa
f6f4d7ec40
Amazfit Cor: support flashing new res format also on Cor
2018-01-27 21:51:34 +01:00
Andreas Shimokawa
14a6c9a626
Amazfit Bip: support flashing new res, font, and latin font files
...
Required for firmware 0.1.0.66
2018-01-27 21:41:35 +01:00
Andreas Shimokawa
d9c012025d
Pebble: prepend application start event to premature appmessage from a newly started app
...
This should fix some InvalidStateExceptions when using background javascript
2018-01-25 16:42:43 +01:00
Felix Konstantin Maurer
296dfe2f17
Fix conversion from String to Integer
2018-01-24 22:01:12 +01:00
Andreas Shimokawa
1349a1c7da
Merge branch 'master' into bip-wip
2018-01-22 08:57:01 +01:00
TaaviE
32dcdc24ba
Fixed two strings incorrectly being merged together.
2018-01-21 22:43:10 +01:00
Andreas Shimokawa
76cf667202
Amazfit Bip, do not set menu items during initializaton
...
(This could prevent menus from vanishing when updating to FW 0.1.0.51)
2018-01-20 01:34:40 +01:00
Andreas Shimokawa
06d6aeacb9
Prepare find phone feature to be generic and implement apphandler for upcoming pebble helper app
2018-01-19 23:12:50 +01:00
NotAFIle
d4a8b6cd80
Recognize some more alternative apps
...
* protonmail email
* challegram and plus messenger Telegram clients
2018-01-19 22:39:57 +01:00
NotAFile
32522c4f55
recognize telegram beta notifications
2018-01-18 20:43:32 +01:00
Andreas Shimokawa
04018955c1
Mi Band HRX: support older firmwares where the Band was named "Mi Band 2i"
2018-01-14 16:34:40 +01:00
cpfeiffer
fa0fd250cf
Attempt to fix crash with ExternalPebbleJSActivity #863
2018-01-14 01:40:04 +01:00
cpfeiffer
da5d1e3685
Trying to simplify ExternalPebbleJSActivity#onCreate() a bit
...
(by splitting into separate methods)
2018-01-14 00:20:13 +01:00
cpfeiffer
9ee1aa87e8
Move some methods to clarify responsibilities and simplify some things
2018-01-13 21:58:40 +01:00
cpfeiffer
e159a5dde3
Cleanup, deduplication, null-handling fixes
2018-01-13 21:08:51 +01:00
Andreas Shimokawa
c420f2ce93
Amazfit Bip: implement find phone feature
...
This probably also works with Amazfit Cor
Closes #887
2018-01-13 18:46:21 +01:00
Andreas Shimokawa
fda4816fc1
Mi Band 2: Whitellist firmwares I tested
...
Fixes #939
2018-01-13 16:56:30 +01:00
Andreas Shimokawa
aca31c320a
Amazfit Cor: allow to flash latest firmware
2018-01-13 16:29:48 +01:00
Andreas Shimokawa
68bd6f99e2
Amazfit Bip: whitelist latest firmwares and support flashing latest GPS firmware
2018-01-13 11:12:58 +01:00
Ted Stein
39e151f51d
Add transliteration for Arabic and Farsi.
2018-01-12 22:05:33 +01:00
Lukas Veneziano
781359afba
Added notification type for business calendar
2018-01-12 21:12:33 +01:00
Felix Konstantin Maurer
a0ee35fa4c
Move getFilePath to appropriate location
2018-01-09 22:41:27 +01:00
Felix Konstantin Maurer
6cbb130bce
Enable periodic export after boot
2018-01-09 22:41:27 +01:00
Felix Konstantin Maurer
559cd557c2
Permissions must be persistet to be reused after boot
2018-01-09 22:41:27 +01:00
Felix Konstantin Maurer
1477235fa2
Clean preferences code
2018-01-09 22:41:27 +01:00
Felix Konstantin Maurer
58e504e299
Improve code, add notification
2018-01-09 22:41:27 +01:00
Felix Konstantin Maurer
254afafa3e
First try at periodic db export
2018-01-09 22:41:27 +01:00
Andreas Shimokawa
6f68c8adde
Merge branch 'master' into bip-wip
2018-01-04 12:09:57 +01:00
cpfeiffer
d570ee864d
Fix logs sometimes not containing stacktraces
...
Fixes #916
2018-01-04 00:12:59 +01:00
cpfeiffer
b9f19970df
Small safety measure against null device
2018-01-04 00:12:59 +01:00
Tomas Radej
56c7f72f65
Added Etar as calendar app type
2017-12-31 13:19:30 +01:00
Lukas Veneziano
f194cc00ed
Fixed accidentally changed color for telegram fixed threema notification
...
type not being used
2017-12-31 00:10:39 +01:00
Lukas Veneziano
6b339a3013
Added notification type for threema app
2017-12-31 00:10:39 +01:00
Andreas Shimokawa
cad9e4ddd0
Amazfit Bip: whitelist firmware 0.1.0.39
2017-12-31 00:07:40 +01:00
Andreas Shimokawa
d4ce333f14
Amazfit Cor: Fix problem with firmware 1.0.6.27 where Cor was detected as Mi Band 2
...
The root cause of this problem is that starting from firmware 1.0.6.27 the
bluetooth name was changed to "Amazfit Cor" from "Amazfit Band"
This resulted in advanced features not working, including firmware flashing.
2017-12-30 22:27:00 +01:00
Andreas Shimokawa
01a5d862a0
Mi Band 1S: fix regression with firmware 4.16.4.22 and whitelist 4.16.11.15
2017-12-29 00:41:21 +01:00
Andreas Shimokawa
dc51714d01
Mi Band: Support activity fetching in later firmwares (needs testing)
...
Based on the profile version which is 0x2000700 for both the bug reporter on a Mi Band 1 and for me on a Mi Band 1s
this either expects packets with length 20 (old firmwares) or 16 for HR enabled bands and 18 for non-HR enabled bands (new firmwares)
We check for profile version >=0x02000000 which is guessed, that needs confirmation for older firmwares and untested ones
Fixes #915
2017-12-28 01:07:25 +01:00
Andreas Shimokawa
b91204e109
Amazfit Bip: allow installation of latest gps firmware
2017-12-22 23:29:38 +01:00
Andreas Shimokawa
f6b183d39a
Allow firmware files up to 1.5MB
...
This helps some experiments
2017-12-21 09:40:47 +01:00
Andreas Shimokawa
ad750c0047
try to fix cor firmware recognition for newer versions
2017-12-21 09:35:33 +01:00
Daniele Gobbetti
888e7fa229
Add support for Omnirom Omnijaws weather service.
...
This uses a contentobserver and doesn't do anything if it's not available.
Should be feature equivalent to the LineageOS weather receiver.
2017-12-17 22:35:17 +01:00
Andreas Shimokawa
7e2f895001
Merge branch 'master' into bip-wip
2017-12-17 00:24:48 +01:00
Andreas Shimokawa
64968d8a99
Amazfit Bip/Cor: change AQI string from (fake) to (n/a)
2017-12-17 00:01:00 +01:00
Andreas Shimokawa
34c3737f3c
Amazfit Bip: Whilelist recently tested versions
2017-12-16 23:25:56 +01:00
Andreas Shimokawa
22eb69d1c2
read humidity from CM Weather provider
2017-12-14 15:10:14 +01:00
Andreas Shimokawa
948002dc7c
Weather: recreate OWM fake reply from weatherSpec, no not directly create in in Weather Notification receiver
...
This should bring CM weather on par with Weather Notficication when using background js
2017-12-14 14:54:09 +01:00
Andreas Shimokawa
1752b1b51e
fix cm/lineage weather not updating after changing location
2017-12-12 22:36:15 +01:00
cpfeiffer
fccd2ebb77
Display the actual firmware kind instead of "Firmware"
...
i.e. "GPS Firmware", "Watchface", "Resources", ...
2017-12-11 23:36:39 +01:00
Andreas Shimokawa
bfceaf9cc9
Merge branch 'master' into bip-wip
2017-12-11 19:30:54 +01:00
Andreas Shimokawa
f0ac296492
Initial support for cyanogenmod/lineage weather provider
...
TODO:
- also reconstruct json for Pebble background js fake replies
- find a better location for settings
- interatively display candidates when looking up location
- grey out setting on non-cm/los devices
2017-12-11 19:09:37 +01:00
Andreas Shimokawa
b7b96b5ab5
Amazfit Bip/Cor: for untested installable files, at least display the type (res/font/gps/watchface)
...
For res the version is also displayed (the same as noted in the wiki)
2017-12-10 20:30:27 +01:00
Andreas Shimokawa
ff93122ddc
Amazfit Bip/Cor: parse and display firmware version for unknown versions
...
Unfortunately that does not work for the Mi Band 2 yet
2017-12-10 11:31:42 +01:00
Andreas Shimokawa
8fbf97f713
Amazfit Bip/Cor: Send fake AQI 0 to make current weather appear
...
I have no idea why this is necessary.
But at least it makes the current weather visible :/
2017-12-08 08:26:10 +01:00
Andreas Shimokawa
eec0a4dc4c
Amazfit Bip/Cor: Send also current temperature/condition
...
Closes #905
2017-12-04 22:33:53 +01:00
michaelneu
76de046434
add Facebook Messenger Lite notification support (see #883 )
2017-12-03 00:18:55 +01:00
Andreas Shimokawa
eb9d321b95
Use Teclast H30 code for Teclast H10
...
Thanks @newfla for pointing that hout
Closes #867
2017-12-02 20:35:56 +01:00
Andreas Shimokawa
7beb793165
Amazfit Bip: Fix installation of new 0.1.0.11 firmware
...
Also whitelist 0.0.9.49 and .59
2017-12-02 01:28:59 +01:00
Andreas Shimokawa
9dfde46bb0
Amazfit Bip: send condition string also for forecast days
...
String for forecasts are looked up from OWM condition ids, while the current condition string is already translated by WeatherNotification
2017-11-30 18:26:10 +01:00
Andreas Shimokawa
0befc1a95e
Weather refactoring
...
No longer save an instance of ParcelableWeather2, rely on our WeatherSpec instead which now has all forecast data and save reconstructed owm weather json in Weather
2017-11-30 10:24:31 +01:00