1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-09-03 05:12:42 +02:00

123 Commits

Author SHA1 Message Date
oliexdev
2cf521fc25 update openScale to version 2.1.0 2019-06-02 15:59:39 +02:00
OliE
83a36ea2ce Replaced Bluetooth backend to Blessed android library (#469)
* replaced RxAndroidBlw with blesses-android library as Bluetooth backend

* remove license commands

* uncomment test debug devices

* use blessed-android library for discovering Bluetooth devices

* add support for Bluetooth Standard Weight Profile scales (e.g. Beurer BF600 and Beurer B850 scales)

* stop scan on Bluetooth discovery

* upgrade Blesses-Android to 0.6
2019-06-02 15:50:00 +02:00
oliexdev
00fc884590 on rolling chart auto scale y axis 2019-05-12 21:21:17 +02:00
oliexdev
3d11941cff updated to version 2.0.3 2019-03-27 18:10:38 +01:00
oliexdev
2c528e98dd set for every build type a own icon 2019-03-24 17:32:55 +01:00
oliexdev
6b23a1272e added build types for light and pro version of openScale 2019-03-19 19:33:20 +01:00
OliE
f24fc35059 Sanitas SBF70/SBF75 (GATT_INSUF_AUTHORIZATION) bug fix (#441)
set discovery/connect delay to one second and Bluetooth communication delay to 10ms
2019-03-19 19:28:35 +01:00
oliexdev
8c4114e7d1 update openScale version to 2.0.1 2019-02-24 22:11:01 +01:00
oliexdev
07e98e41e8 update openScale version to 2.0 2019-02-21 19:07:02 +01:00
OliE
16ee6efafc Replaced HelloCharts with MPAndroidChart library (#371)
* replaced HelloCharts library with the MPAndroidChart library

* added option to enable/disable graph legend

* replaced statistic last week/month table view with radar graph

* added graph marker and marker menu for line graphs

* added option to enable/disable Y-axis

* added show/edit/delete button for the graph view

* use for overview and graph fragment a custom chart view based on MPAndroidChart
2019-02-10 18:46:05 +01:00
oliexdev
c443c5c4ea update openScale version to 1.9.3 2019-02-03 16:50:17 +01:00
oliexdev
acdd63a655 do Bluetooth LE scan before connecting to improve connection performance 2019-02-02 11:16:23 +01:00
oliexdev
d828c63ee1 update openScale version to 1.9.1 2019-01-28 19:42:42 +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
Erik Johansson
e2a2a0ed3d Bump timber to 4.7.1 2019-01-08 21:32:29 +01:00
oliexdev
067544768b resolved deprecated AndroidJUnit4 annotation class 2018-12-21 14:42:38 +01:00
oliexdev
935f30993c update to release version 1.8.4 2018-12-21 14:27:08 +01:00
Erik Johansson
0b470cf9b9 Convert to using androidx instead of support library
Since AndriodX is the new support library.
2018-11-05 21:45:00 +01:00
OliE
51e922d1ae updated version to 1.8.3 2018-11-04 07:49:08 +01:00
OliE
1f8facacc8 update version to 1.8.2 and updated target version to sdk 28 2018-10-07 12:57:22 +02:00
Erik Johansson
ee00d9ef69 Upgrade android room and test packages to the latest version 2018-09-27 22:20:41 +02:00
Erik Johansson
b0df4fd3aa Replace ListView with RecyclerView 2018-06-20 21:31:46 +02:00
OliE
0444b9daff update version to 1.8.1 2018-05-22 17:35:48 +02:00
OliE
7ae9cdc5c5 update version to 1.8 2018-05-21 09:33:01 +02:00
OliE
315d166de3 set openScale version to 1.7.3 2018-04-25 16:49:03 +02:00
Erik Johansson
bb77eb305d Add Timber library for logging
The idea is to add a Tree that can save the log to a file which can be
enabled from the settings.
2018-04-22 23:07:08 +02:00
Erik Johansson
ca6aadbc98 Upgrade support lib version to 27.1.1 2018-04-16 20:49:10 +02:00
OliE
7485163eec upgrade openScale version to 1.7.2 2018-04-16 17:16:43 +02:00
Erik Johansson
8965a5667a Bump support lib version to 27.1.0 2018-04-04 21:34:43 +02:00
Erik Johansson
12652e7504 Bump simple CSV library to 2.3 2018-04-04 21:22:28 +02:00
OliE
e4dd200a60 update openScale version to 1.7.1 2018-03-01 09:08:36 +01:00
Erik Johansson
93df08b973 Bump minSdkVersion to 19 to support ACTION_CREATE_DOCUMENT 2018-02-27 22:22:14 +01:00
OliE
97a75762dc ask user for read/write permission and coarse location permission if needed. 2018-02-10 10:51:37 +01:00
OliE
8ee4c16588 update openScale version to 1.7 2018-01-20 09:27:22 +01:00
Erik Johansson
ca9350321b Update dependency type to match what the dependency is used for 2018-01-20 08:30:36 +01:00
OliE
20fff62c5b added UI teser Espresso.
added an automatic Screenshot recorder
added an UI user add test
2018-01-20 06:50:53 +01:00
Erik Johansson
eae1f5d3b0 Move test to the location where gradle expects to find them
Before moving the tests it seemed as if running ./gradlew test didn't
actually execute any unit tests. And without moving the DatabaseTest
to androidTest I couldn't get Android studio to actuallly execute the
test. Now it works both in Android studio and also from the command
line (./gradlew connectedCheck).

Also set testApplicationId to the normal app id + .test suffix.
2018-01-15 23:07:12 +01:00
OliE
08213a4a41 upgraded support lib version to 27.0.2 2018-01-15 17:58:39 +01:00
OliE
7296a45a8a upgraded compile SDK version to 27 2018-01-15 17:57:03 +01:00
Erik Johansson
98426fb554 Integrate cat.ereza:customactivityoncrash
When the application crashes, this display a custom activity pointing
the user to github and making it possible to copy the error details to
the clipboard to include it in the issue report.
2018-01-14 21:40:18 +01:00
OliE
7d7351463d upgrade version number to 1.7 beta 2018-01-06 11:43:52 +01:00
OliE
3432bbf21d Replaced CSV export/import function with SimpleCSV library source code 2018-01-05 18:35:14 +01:00
OliE
b5fcb9525f added JUnit database test
set index and unique to datetime
2018-01-01 13:47:36 +01:00
OliE
bd187962d4 renamed ScaleData class to ScaleMeasurement class for consistent naming
saved generated Room database shema
2018-01-01 11:18:06 +01:00
OliE
5f53e791ef made ScaleUser class variables private
initial define Room entities, DAO and database interface for ScaleUser and ScaleData
2017-12-31 12:48:16 +01:00
OliE
f3e5174fcc moved the junit test into an own package 2017-12-30 10:14:17 +01:00
Erik Johansson
ef74c7acd6 Lower build verbosity on travis
while still showing failed tests.
2017-12-29 23:36:55 +01:00
Erik Johansson
90f4d9701b Add support for writing unit tests 2017-12-29 22:16:52 +01:00
OliE
214cd06498 set version name to 1.6.1 2017-12-17 18:04:56 +01:00