You will need a CSC Bluetooth LE (low energy) device mounted on your bike. After installation, the app will automatically scan for a CSC device and, if found, record your daily distances from then on.
Tested with “Wahoo Blue SC” but it should work with other devices too. Only available on Lollipop because it use the new low power Bluetooth LE scanning mode.
You can find the source at github. https://github.com/smeir/biketracker-le