The repositories provided are working  with Android > 8.1 and Android Things respectively.

Modifications were made from the original application to be compatible with the new Android versions. See blog links for more information! 

Application imported and modified to work with Android < 6.0:

Modifications added for Android > 6.0:

Android Things application:

Be aware that the code is original from Texas Instruments. Bugs are everywhere. I didn't resolve the existing bugs, I just made the application compatible with the new Android versions and Android Things.