1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-29 11:10:35 +02:00
Commit Graph

2045 Commits

Author SHA1 Message Date
oliexdev
6b3ac62f13 refactored Sennsun scale 2019-02-10 17:54:04 +01:00
Allan Nordhøy
205ec32333 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (221 of 221 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/nb_NO/
2019-02-09 02:10:36 +01:00
Allan Nordhøy
522a0cbb22 Translated using Weblate (English)
Currently translated at 100.0% (221 of 221 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/en/
2019-02-08 08:30:30 +01:00
Hosted Weblate
fe4cbffaf6 Merge branch 'origin/master' into Weblate. 2019-02-07 22:10:27 +01:00
DasPoseidon
83242190d0 Translated using Weblate (German)
Currently translated at 100.0% (220 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/de/
2019-02-07 22:10:26 +01:00
oliexdev
65ca09ea2e added notification channel for Android O 2019-02-03 19:23:17 +01:00
oliexdev
d5a119a117 enabled network provider for the location service is also ok for searching Bluetooth devices 2019-02-03 18:49:55 +01:00
oliexdev
c443c5c4ea update openScale version to 1.9.3 2019-02-03 16:50:17 +01:00
oliexdev
6cc875dbd9 check for location service after coarse location permission is granted 2019-02-03 15:52:06 +01:00
oliexdev
66154385dc updated location service info text 2019-02-03 15:32:07 +01:00
oliexdev
b8d1c4f47b request for location service is it not enabled to search for Bluetooth scales. 2019-02-03 15:20:47 +01:00
oliexdev
bd8f1e4ccf check also if the location service globally is on not only the app location permission 2019-02-03 14:42:11 +01:00
oliexdev
9129dc6a22 - set calories inc size to ten
- throw error on LE scan
2019-02-03 14:15:49 +01:00
oliexdev
acdd63a655 do Bluetooth LE scan before connecting to improve connection performance 2019-02-02 11:16:23 +01:00
oliexdev
bd021b75de delay Bluetooth connection to 50ms and set Bluetooth debug level on 2019-02-02 08:40:12 +01:00
Jamal makkor
3589ae80e4 Translated using Weblate (Arabic)
Currently translated at 100.0% (220 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/ar/
2019-02-01 20:10:22 +01:00
Erik Johansson
4fbf16dc38 Add Arabic to language list 2019-01-28 20:04:09 +01:00
Erik Johansson
1c3ed6ac21 Make sure to use application context in db provider 2019-01-28 19:58:46 +01:00
Erik Johansson
ddae61af9f Update gradle to 4.10 and gradle plugin to 3.3 2019-01-28 19:58:46 +01:00
oliexdev
d828c63ee1 update openScale version to 1.9.1 2019-01-28 19:42:42 +01:00
Petter Reinholdtsen
afb213f27f Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (220 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/nb_NO/
2019-01-27 21:12:31 +01:00
oliexdev
d5ba8b5bd8 fixed Mi scale v1 bug with RxAndroidBle library 2019-01-27 17:41:45 +01:00
Laurent
2fe3be9e43 Translated using Weblate (French)
Currently translated at 100.0% (220 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/fr/
2019-01-27 13:05:35 +01:00
Jamal makkor
d01b92b779 Translated using Weblate (Arabic)
Currently translated at 76.8% (169 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/ar/
2019-01-27 13:05:34 +01:00
Martin DroiDsk
3a24cf5847 Translated using Weblate (Slovak)
Currently translated at 55.5% (122 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sk/
2019-01-25 20:05:53 +01:00
Hosted Weblate
58c8d38ced Merge branch 'origin/master' into Weblate. 2019-01-23 18:41:45 +01:00
Jamal makkor
269aa28f50 Translated using Weblate (Arabic)
Currently translated at 54.5% (120 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/ar/
2019-01-23 18:41:44 +01:00
oliexdev
a593ad1e18 change stop machine state order 2019-01-23 18:41:22 +01:00
Roelf Kloppenborg
092e3ba526 Translated using Weblate (Dutch)
Currently translated at 100.0% (220 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/nl/
2019-01-22 15:06:07 +01:00
Hosted Weblate
136728fc9c Merge branch 'origin/master' into Weblate. 2019-01-20 09:48:54 +01:00
Jamal makkor
28925dfcf2 Translated using Weblate (English)
Currently translated at 100.0% (220 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/en/
2019-01-20 09:48:54 +01:00
Louies
a4f021500c Translated using Weblate (Chinese (Traditional))
Currently translated at 84.5% (186 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/zh_Hant/
2019-01-20 09:48:54 +01:00
Jamal makkor
5793ff234f Translated using Weblate (Arabic)
Currently translated at 23.2% (51 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/ar/
2019-01-20 09:48:53 +01:00
Laurent
5a7a05e171 Added support for Libra-W (#385) 2019-01-20 09:48:45 +01:00
Jamal makkor
9db8c362ff Added translation using Weblate (Arabic) 2019-01-19 14:42:04 +01:00
Allan Nordhøy
1058c0f84c Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.5% (219 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/nb_NO/
2019-01-19 10:06:40 +01:00
Yaron Shahrabani
d4d2c65dee Translated using Weblate (Hebrew)
Currently translated at 100.0% (220 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/he/
2019-01-19 10:06:39 +01:00
Allan Nordhøy
f70cc604e7 Translated using Weblate (German)
Currently translated at 99.1% (218 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/de/
2019-01-19 10:06:38 +01:00
Allan Nordhøy
ab8cb7ae2b Translated using Weblate (English)
Currently translated at 100.0% (220 of 220 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/en/
2019-01-19 10:06:37 +01:00
oliexdev
e3fef86a3b update openScale version to 1.9 2019-01-19 08:14:42 +01:00
OliE
2d0652489e Replaced native Android Bluetooth stack with RxAndroidBle library (#380)
* do the Bluetooth discovery with the library RxAndroidBle, see issue #357

* do the Bluetooth communication with the library RxAndroidBle, see issue #357
note all TODO ??? needs to be tested or fixed

* - retry on Bluetooth error three times
- separate error handling in his own method
- fixed set machine state step to invoke next step

* - improve Bluetooth error handling
- set correct compile options

* - don't stop scanning while screen orientation changed
- don't pass rxBleClient as a parameter
- do debug driver work again

* support log newline compatible for windows

* revert test device name

* remove Bluetooth pause state for sanitas/beurer scales to see if it works without this state with the RxAndroidBle library

* ignore BleException, see https://github.com/Polidea/RxAndroidBle/wiki/FAQ:-UndeliverableException

* update to 1.9-beta version

* - add watch dog timer for disconnecting to the Bluetooth to get a clean Bluetooth disconnection (not retry)
- initialize step counts and increment step before calling methods otherwise setNotficiation will end up in a infinity loop

* differ between normal disconnect and disconnectWithDelay to avoid running in a Bluetooth timeout

* gives user a message to step on the scale if the scale is ready to use. Then the user has 45 seconds to get on before an automatic disconnection.

* reimplemented stop/resume/repeat methods for the Bluetooth state machine.

* added missing stopMachineState() methods

* fixed some bugs for Sanitas/Beurer scales
2019-01-19 08:02:17 +01:00
oliexdev
29e6883a3a added junit test for database migration 3 to 4 2019-01-19 07:53:56 +01:00
oliexdev
74508aafae excluded TDEE in overview and graph page 2019-01-19 07:21:53 +01:00
Hosted Weblate
226ced6db3 Merge branch 'origin/master' into Weblate. 2019-01-16 19:20:58 +01:00
Talagaev Daniil
b81d57d678 Translated using Weblate (Russian)
Currently translated at 100.0% (217 of 217 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/ru/
2019-01-16 19:20:56 +01:00
oliexdev
8966b3605b Use TrisaBodyAnalyzeLib to calculate QNScale body measurements, see PR #379 2019-01-14 17:30:11 +01:00
oliexdev
7120927d4a - updated Trisa body analyze junit test
- updated deprecated instrumentation import
2019-01-11 16:46:30 +01:00
oliexdev
4dfdb233f4 refactored Trisa body analyze lib to make it possible to reuse the formulas for other scales as well 2019-01-11 15:39:58 +01:00
Hosted Weblate
de277bbdcc Merge branch 'origin/master' into Weblate. 2019-01-10 10:07:31 +01:00
Vangelis Skarmoutsos
45fa102b52 Translated using Weblate (Greek)
Currently translated at 99.1% (215 of 217 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/el/
2019-01-10 10:07:29 +01:00