Allan Nordhøy
cc3fbe28be
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 100,0% (213 of 213 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/nb/
2018-07-20 19:46:31 +02:00
OliE
4f3eec183f
Merge branch 'master' into funkwit-master
2018-07-20 16:21:42 +02:00
OliE
2f4a10ced5
renamed and moved to ScaleDatabaseProvider.java
2018-07-20 16:21:16 +02:00
oliexdev
fd0b5e6f9b
catch error if polygon degree of regression line is empty (fixed bug #306 )
2018-07-18 20:30:38 +02:00
oliexdev
a18ce3a6df
Merge branch 'master' of https://github.com/oliexdev/openScale
2018-07-18 20:03:53 +02:00
Erik Johansson
179aa02a60
Avoid parsing invalid data from 1byone scale
...
See log in #159 .
2018-07-07 22:24:24 +02:00
Erik Johansson
75b2cf4174
Revert "Test if Yunmai Balance works as the mini"
...
This reverts commit b92e143ecd
.
See #305
2018-07-07 22:17:00 +02:00
Erik Johansson
b92e143ecd
Test if Yunmai Balance works as the mini
...
Issue #305
2018-07-06 23:13:55 +02:00
Erik Johansson
273c347426
Fix typo (data is in little endian format)
2018-07-06 07:01:21 +02:00
Erik Johansson
269cbae1cc
Add support for other 1byone variant reported in #159
2018-07-06 00:50:07 +02:00
Erik Johansson
d510c32f4c
Only restart scanning if dialog is showing
2018-07-05 23:05:51 +02:00
Erik Johansson
1b9f095426
Strip trailing space in hexdump
2018-07-05 22:49:16 +02:00
Erik Johansson
ccbd62fdeb
Delay the response handling in BLE with ~60 ms
...
Hopefully this avoids error 133 seen in #159 . At least that's what
https://android.jlelse.eu/lessons-for-first-time-android-bluetooth-le-developers-i-learned-the-hard-way-fee07646624
suggests.
2018-07-05 00:03:49 +02:00
Erik Johansson
baa29e7b86
Make extended info (debug mode) dialog disappear
...
The callback handler is removed when disconnecting, so the state must
be set first.
2018-07-05 00:02:31 +02:00
Erik Johansson
40cc290dc6
Add some more BLE debug logs
2018-07-04 23:46:06 +02:00
OliE
2a7d4f9c32
Merge branch 'master' of git://github.com/funkwit/openScale into funkwit-master
2018-07-04 17:57:14 +02:00
Paul Cowan
cfa86f738c
Add a ContentProvider so other apps can access (with permission) the openScale data.
...
This could be used for e.g. syncing weight logs to a third-party service such as Google Fit,
without the openScale app having to do so; with this, a 'connector' app could be written that
reads this data and does the push to a third-party service (or, indeed, an HTTP RPC connector,
an MQTT connector, SMS notifications, or anything else) without openScale needing this
functionality (or additional permissions).
2018-07-04 23:28:36 +10:00
Erik Johansson
69312b83ad
Log exception for #159
2018-07-04 13:10:24 +02:00
Erik Johansson
a2543afe02
Ignore duplicate weight measurements (1byone)
...
As reported in #159 .
2018-07-04 00:56:46 +02:00
Erik Johansson
23b8e728da
Some more debug logging for #159
2018-07-04 00:31:10 +02:00
Erik Johansson
5e62c0afc5
Include thread id in debug log
2018-07-04 00:14:56 +02:00
Erik Johansson
7e7d923810
Rename driver for Medisana since both BS440 and BS444 are supported
2018-07-03 23:39:17 +02:00
Erik Johansson
795b657702
Add Excelvan CF366BLE to list of supported scales
...
Also rename the driver to indicate that CF369BLE isn't the only scale
supported by that driver.
2018-07-03 23:37:57 +02:00
Erik Johansson
97e4210725
Merge pull request #298 from funkwit/master
...
Ignore 17th byte of the message in the Excelvan scales; some variants…
2018-07-03 23:34:23 +02:00
Erik Johansson
4af7b830bc
Add Croatian to language list
2018-07-03 23:25:11 +02:00
Nikola Gmajnic
e7e289a825
Translated using Weblate (Croatian)
...
Currently translated at 100.0% (211 of 211 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/hr/
2018-07-02 15:35:52 +02:00
Paul Cowan
9caacddb79
Ignore 17th byte of the message in the Excelvan scales; some variants include an optional 'physiological age'.
...
This allows supporting (at least) the Excelvan CF366BLE using the existing driver with no other changes needed.
2018-07-02 09:53:12 +10:00
Nikola Gmajnic
c346e30ae3
Translated using Weblate (Croatian)
...
Currently translated at 100.0% (211 of 211 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/hr/
2018-07-01 15:24:20 +02:00
Nikola Gmajnic
c540268282
Added translation using Weblate (Croatian)
2018-07-01 14:09:26 +02:00
Erik Johansson
c790ee611d
Hold on to OpenScale instance in the Application instance
...
Hopefully fixes #294 .
2018-06-24 21:42:56 +02:00
Erik Johansson
6be45a3ebf
Add Danish and Slovenian to language list
2018-06-24 20:14:34 +02:00
MrLaaky
3d7cbe59c4
Translated using Weblate (Slovenian)
...
Currently translated at 100.0% (211 of 211 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sl/
2018-06-23 15:00:04 +02:00
Weblate
58d0991c3a
Merge branch 'origin/master' into Weblate
2018-06-23 11:57:31 +02:00
MrLaaky
05dcad574e
Translated using Weblate (Slovenian)
...
Currently translated at 40.7% (86 of 211 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sl/
2018-06-23 11:57:30 +02:00
Rolf Madsen
5542567179
Danish translation
2018-06-23 11:46:30 +02:00
MrLaaky
39737b5229
Added translation using Weblate (Slovenian)
2018-06-22 18:06:48 +02:00
Erik Johansson
a8ff04b5d7
Convert goal weight to user's unit before plotting in graph
...
Fix #292
2018-06-21 18:08:30 +02:00
Erik Johansson
7b2259a249
Insert year divider in table
...
When year changes between two measurements, insert a row that only
displays the year as a visual divider between years.
2018-06-20 21:31:46 +02:00
Erik Johansson
b94e3d8a78
Add divider between items and header
2018-06-20 21:31:46 +02:00
Erik Johansson
b0df4fd3aa
Replace ListView with RecyclerView
2018-06-20 21:31:46 +02:00
Erik Johansson
39a5925e7c
Remove subpage view from table fragment
2018-06-20 21:31:46 +02:00
Erik Johansson
854d600424
Don't keep date format in static variable
...
It needs to be updated if the locale (language) is changed.
2018-06-20 21:31:19 +02:00
Erik Johansson
acb2cd7027
Upgrade gradle to 3.1.3
2018-06-17 22:30:10 +02:00
Erik Johansson
fd99363b66
Weight from Exingtech Y1 always in kg
...
according to comment in #282
2018-06-17 21:59:16 +02:00
Erik Johansson
b3f92aa465
Stop discovery and LE scan before getting debug info
2018-06-17 21:40:08 +02:00
Erik Johansson
0350173a2b
Let all clean up steps run when disconnecting
2018-06-17 20:54:52 +02:00
Erik Johansson
ae07a7f5d3
Run a LE scan for the device before connecting
...
Seems to be a requirement for some scales (e.g. Medisana BS444) and we
might as well do it for all scales since it should hopefully improve
connectivity for others as well.
If no location permission is given, or if no device is found within 10
seconds, we try to connect directly to the scale.
As of this, #278 should be fixed.
2018-06-17 20:54:52 +02:00
Erik Johansson
a4a27d2f7e
Stop LE scan before connecting to discovered device
...
See #278
2018-06-14 21:56:52 +02:00
Erik Johansson
ffa25af1bc
Move bluetooth status logging to a separate method
2018-06-14 21:49:37 +02:00
ezjerry liao
a013ad6553
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 81.0% (171 of 211 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/zh_Hant/
2018-06-14 13:35:53 +02:00