1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 05:16:51 +01:00
Commit Graph

4262 Commits

Author SHA1 Message Date
Andreas Shimokawa
1d3cff029e clean up changelog (there was no 0.36.3 release) 2019-10-12 12:53:35 +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
ecd1595e84 bumped version and added makibes hr3 to readme. 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
Daniel Dakhno
b7a660ae58 allows to set custom notification icons per device 2019-10-11 20:15:38 +02:00
Andreas Shimokawa
5c3c81fe6f do not recogize bip lite as bip 2019-10-10 21:21:19 +02:00
Andreas Shimokawa
8d27ad1996 another try at bip lite support 2019-10-09 21:33:55 +02:00
Andreas Shimokawa
183d99944c remove strings for already removed settings submenus 2019-10-05 22:50:19 +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
Andreas Shimokawa
50ff47e0e4 de-mibandify 2019-10-05 13:29:20 +02:00
Allan Nordhøy
df72ee9935 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.9% (697 of 712 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-10-03 20:46:22 +02:00
陈少举
205d1b6a0f Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (712 of 712 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-10-03 20:46:22 +02:00
Yaron Shahrabani
eae46e4ea1 Translated using Weblate (Hebrew)
Currently translated at 100.0% (712 of 712 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-10-03 20:46:22 +02:00
nautilusx
7ad6abb8b4 Translated using Weblate (German)
Currently translated at 100.0% (712 of 712 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-10-03 20:46:22 +02:00
Rafael Fontenelle
17fd080855 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (712 of 712 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2019-10-03 20:46:22 +02:00
Allan Nordhøy
6351171a40 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.9% (695 of 710 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-10-03 20:46:22 +02:00
陈少举
a456450dd1 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (710 of 710 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-10-03 20:46:22 +02:00
Yaron Shahrabani
75af9eaffe Translated using Weblate (Hebrew)
Currently translated at 100.0% (710 of 710 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-10-03 20:46:22 +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
64edc6f87c adjusted changelog and version 2019-10-02 23:06:53 +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
Marc Nause
a4c7cdb2a5 Show toast in case no app is installed which can handle GPX files 2019-09-29 18:48:13 +02:00
陈少举
34180ba05e Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-09-25 23:22:28 +02:00
FransM
03c015f9b8 Translated using Weblate (Dutch)
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2019-09-25 23:22:28 +02:00
Yaron Shahrabani
c2e13c6fa9 Translated using Weblate (Hebrew)
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-09-25 23:22:28 +02:00
naofum
9904a2c9d4 Translated using Weblate (Japanese)
Currently translated at 67.6% (479 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ja/
2019-09-25 23:22:28 +02:00
HenRy
9e1c045fcc Translated using Weblate (German)
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-09-25 23:22:28 +02:00
Andreas Shimokawa
b92a3f3f7d Work around broken layout in database management activity
If buttons get wider than a column, grid layout excesses screen size
Tried to properly do it but two hours headache is enough

Closes #1652
2019-09-25 23:20:12 +02:00
FransM
fb762919f2 Translated using Weblate (Dutch)
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2019-09-22 21:55:33 +02:00
zsolt3991
2be8a582ee Translated using Weblate (Hungarian)
Currently translated at 51.3% (364 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2019-09-22 21:55:33 +02:00
FransM
0a68b167f5 Translated using Weblate (English)
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-09-22 21:55:33 +02:00
Andreas Shimokawa
76cd464fae bump version, add changelog 2019-09-22 21:54:13 +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
Allan Nordhøy
e5069c61e8
Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.0% (695 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-09-20 09:28:10 +02:00
陈少举
7821d49cc6
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-09-20 09:28:10 +02:00
Dario Lopez-Kästen
21dcde8664
Translated using Weblate (Swedish)
Currently translated at 4.2% (30 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/sv/
2019-09-20 09:28:10 +02:00
Yaron Shahrabani
dd079dc02c
Translated using Weblate (Hebrew)
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-09-20 09:28:04 +02:00
HenRy
0118e144c9
Translated using Weblate (German)
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-09-20 09:28:04 +02:00
Rafael Fontenelle
24a9219538
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2019-09-20 09:28:02 +02:00
cpfeiffer
17f24c06f8 Fix some LGTM issues 2019-09-19 23:18:17 +02:00
cpfeiffer
235c3fb599 Replace findbugs with spotbugs and fix configuration for latest gradle 2019-09-19 22:31:49 +02:00
Dario Lopez-Kästen
f36a58e1f1
Added translation using Weblate (Swedish) 2019-09-18 14:17:57 +02:00
Andreas Shimokawa
c1de028d45 remove translations of strings that have been removed in the past, plus fix some spelling 2019-09-17 15:05:25 +02:00
Andreas Shimokawa
542eaf49e7 fix spelling 2019-09-17 14:19:04 +02:00
Andreas Shimokawa
9ebb11b168 update changelogs, bump version 2019-09-17 14:12:48 +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
Andreas Shimokawa
a3d9aadde0 update gradle and depencencies 2019-09-16 21:56:40 +02:00
vanous
43bfa791ad Adds plurals to a string of the Widget. 2019-09-16 20:45:21 +02:00
Allan Nordhøy
80db647692
Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.0% (695 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-09-16 20:30:58 +02:00
陈少举
7d94e166de
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-09-16 20:30:57 +02:00
Yaron Shahrabani
1b1aa06e0d
Translated using Weblate (Hebrew)
Currently translated at 99.9% (708 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-09-16 20:30:57 +02:00
Full Name
6689e9e46c
Translated using Weblate (Czech)
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2019-09-16 20:30:56 +02:00
mondstern
070e0d18b2
Translated using Weblate (German)
Currently translated at 98.4% (698 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-09-16 20:30:54 +02:00
Rafael Fontenelle
47bdd5c23f
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (709 of 709 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2019-09-16 20:30:52 +02:00
vanous
c58b980208 Connect device button settings and logic 2019-09-14 00:42:09 +02:00
postsorino
5d2aa44495 Translated using Weblate (Greek)
Currently translated at 100.0% (706 of 706 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2019-09-14 00:26:06 +02:00
Allan Nordhøy
f624d83f2b Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.0% (692 of 706 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-09-14 00:26:06 +02:00
陈少举
0c6a4f3a33 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (706 of 706 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-09-14 00:26:06 +02:00
Yaron Shahrabani
c4a203c8e0 Translated using Weblate (Hebrew)
Currently translated at 99.7% (704 of 706 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-09-14 00:26:06 +02:00
Allan Nordhøy
6ffa791b9b Translated using Weblate (English)
Currently translated at 100.0% (706 of 706 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-09-14 00:26:06 +02:00
Rafael Fontenelle
147f1b153f Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (706 of 706 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2019-09-14 00:26:06 +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
Santiago Benalcázar
eb895b6d5e Translated using Weblate (Spanish)
Currently translated at 97.9% (667 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2019-09-11 09:44:58 +02:00
jugendhacker
0e44fc70e0 Translated using Weblate (German)
Currently translated at 100.0% (681 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-09-11 09:44:58 +02:00
mangel
a2317d604d Translated using Weblate (Spanish)
Currently translated at 94.4% (643 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2019-09-11 09:44:58 +02:00
FransM
6c91714510 Translated using Weblate (Dutch)
Currently translated at 85.2% (580 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2019-09-11 09:44:58 +02:00
leela
062f2bfe77 Translated using Weblate (Burmese)
Currently translated at 5.1% (35 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/my/
2019-09-11 09:44:58 +02:00
leela
a9dd7b8b61 Translated using Weblate (Korean)
Currently translated at 84.1% (573 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ko/
2019-09-11 09:44:58 +02:00
Nevena Mircheva
baf1191304 Translated using Weblate (Bulgarian)
Currently translated at 55.8% (380 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/bg/
2019-09-11 09:44:58 +02:00
HenRy
58db65589d Translated using Weblate (German)
Currently translated at 100.0% (681 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-09-11 09:44:58 +02:00
leela
3655a0cd75 Translated using Weblate (Turkish)
Currently translated at 19.4% (132 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2019-09-11 09:44:58 +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
42e237feb2 Fix crash when entering notification filter notification filter settings
Fixes #1614

Thanks @Nephiel for pointing that out
2019-08-31 21:53:16 +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
Swann Martinet
4e13317609 Translated using Weblate (French)
Currently translated at 99.4% (677 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2019-08-25 21:40:31 +02:00
Allan Nordhøy
5adbd68afa Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.2% (669 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-08-25 21:40:31 +02:00
陈少举
ade5eb927f Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (681 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-08-25 21:40:31 +02:00
Yaron Shahrabani
e25f1bf001 Translated using Weblate (Hebrew)
Currently translated at 100.0% (681 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-08-25 21:40:31 +02:00
Full Name
94832e7135 Translated using Weblate (Czech)
Currently translated at 100.0% (681 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2019-08-25 21:40:31 +02:00
Rafael Fontenelle
759a04b537 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (681 of 681 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2019-08-25 21:40:31 +02:00
Andreas Shimokawa
a8b53bdeca bump version add changelogs 2019-08-25 20:43:49 +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
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
Andreas Shimokawa
42a6b9f48b update dependencies 2019-08-13 15:07:31 +02:00
Andreas Shimokawa
e1016e18b3 Put all chart preferences into a preference screen 2019-08-13 14:49:23 +02:00
vanous
404bdc4713 Polish strings key to keep consistency with the project. 2019-08-13 14:30:55 +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
f68485e6f0 Add Preferences and strins. Format Preferences. 2019-08-13 14:30:54 +02:00
Giuseppe
2a2bc7257f Translated using Weblate (Italian)
Currently translated at 100.0% (671 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2019-08-12 20:35:17 +02:00
Richard Finegold
0c35eec2f7 Fix firmware spelling in CHANGELOG.md
Fix spelling in fastlane metadata changelog
Fix spelling in res/xml/changelog_master.xml
2019-08-12 14:17:47 +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
vanous
c243541c6e Add dedicated charts section into Settings 2019-08-12 14:10:18 +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
Andreas Shimokawa
bb03ccccb4 fix wording 2019-07-30 23:24:58 +02:00
Andreas Shimokawa
ad7939a641 bump version, add changelog 2019-07-30 23:18:58 +02:00
Andreas Shimokawa
c4af864ad5 Fix crash when installing firmware to Mi Band 1/2 while App is in Spanish
(No this is not really Spanish, please fix working on weblate)
Fixes #1577
2019-07-30 23:09:00 +02:00
Leo bonilla
3197b85111 Translated using Weblate (Spanish)
Currently translated at 94.2% (632 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2019-07-30 22:56:15 +02:00
Full Name
e99ce564b4 Translated using Weblate (Czech)
Currently translated at 100.0% (671 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2019-07-30 22:56:15 +02:00
nautilusx
686a12b8cb Translated using Weblate (German)
Currently translated at 100.0% (671 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-07-30 22:56:15 +02:00
Allan Nordhøy
86dec419e1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.0% (664 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-07-30 22:56:15 +02:00
Yaron Shahrabani
5c3741b33f Translated using Weblate (Hebrew)
Currently translated at 100.0% (671 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-07-30 22:56:15 +02:00
Rafael Fontenelle
66a735d68d Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (671 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2019-07-30 22:56:15 +02:00
陈少举
b1a6c4670f Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (671 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-07-30 22:56:15 +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
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
1414ef1623 bump version, add changelog 2019-07-25 22:29:09 +02:00
Andreas Shimokawa
31db568832 Mi Band 4: Fix RES and FW update 2019-07-25 22:18:48 +02:00
Andreas Shimokawa
b6e78c1b9c Mi Band 4: Support flashing watchfaces
FLASHING FIRMWARE/RES/FONT IS STILL UNTESTED
2019-07-25 20:51:28 +02:00
Andreas Shimokawa
1e3fbfe8b4 bump version, add changelog 2019-07-24 21:52:18 +02:00
Full Name
c00072c1c8 Translated using Weblate (Czech)
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2019-07-24 21:38:01 +02:00
Deixondit
507a8996ef Translated using Weblate (Catalan)
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2019-07-24 21:38:01 +02:00
Andreas Shimokawa
5ff5561772 Mi Band 4: Fix notification icons and cut-off text 2019-07-24 09:33:53 +02:00
Andreas Shimokawa
044f6c11cd Mi Band 4: WIP firmware update preparation
Nothing works yet
2019-07-23 23:49:21 +02:00
Andreas Shimokawa
9042966a40 Mi Band 4: Fix empty notifications
Icon still missing
2019-07-23 22:42:30 +02:00
Andreas Shimokawa
a60268c05c Mi Band 4: Bring your own key support (blindly done, I dont have my key)
THIS STILL REQUIRES MI FIT AND YOUR EXTRACTED KEY

HOWTO:
1) press + button in Gadgerbridge
2) LONG PRESS Mi Band 4
3) Tap "Auth Key"
4) Enter your key prefixed with 0x (eg. 0x112233445566778899aabbccddeeff00)
5) Go back
6) Tap Mi Band 4

Success? You tell me.
2019-07-23 08:56:26 +02:00
Andreas Shimokawa
54e814f848 add missing file
travis is useless, lets remove that crap
2019-07-17 11:26:36 +02:00
Andreas Shimokawa
8d2ea3b9e8 update changelog 2019-07-16 23:50:28 +02:00
Andreas Shimokawa
8d50e8ef08 Mi Band 3: Allow setting date format in per-device settings
Closes #1544
2019-07-16 23:48:08 +02:00
Andreas Shimokawa
f7a4b3c06a Mi Band 3: whitelist firmware 2.4.0.20
Closes #1557
2019-07-16 16:24:45 +02:00
Andreas Shimokawa
905c6fdc3e update changelog, bump version 2019-07-16 14:22:30 +02:00
Joan Perals
c10ec59b78 Add Catalan to list of available languages 2019-07-16 00:43:57 +02:00
Andreas Shimokawa
9163faf726 Merge remote-tracking branch 'github/pr/1555/zetime' 2019-07-16 00:41:04 +02:00
Sebastian Kranz
1cd9a09ce5 BUGFIX: Really fix the timestamps now for everyone, everywhere. calculate the correct UTC of different timezones and daylight savings. 2019-07-12 08:08:52 +02:00
Andreas Shimokawa
487c4b7498 fix burmese path 2019-07-11 22:08:11 +02:00
Deixondit
790194c329 Translated using Weblate (Catalan)
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2019-07-11 22:01:43 +02:00
Deixondit
91c5ac8fca Translated using Weblate (Catalan)
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2019-07-11 22:01:43 +02:00
Deixondit
36aabc6cb6 Translated using Weblate (Catalan)
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2019-07-11 22:01:43 +02:00
Deixondit
cf6dfa5f12 Translated using Weblate (Catalan)
Currently translated at 55.9% (373 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2019-07-11 22:01:43 +02:00
Ye Wint Htut Kyaw
98e0b4c5d2 Translated using Weblate (😃 (generated))
Currently translated at 5.2% (35 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/%F0%9F%98%83/
2019-07-11 22:01:43 +02:00
Ye Wint Htut Kyaw
aeb4296218 Added translation using Weblate (😃 (generated)) 2019-07-11 22:01:43 +02:00
Ye Wint Htut Kyaw
aacc766810 Added translation using Weblate (Burmese) 2019-07-11 22:01:43 +02:00