* 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
* 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
* 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
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.
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.