A sample project developed following the tutorial at https://www.youtube.com/playlist?list=PLREdURb87ks2qkD9svvlIwYwN35FZ3Afv&app=desktop
Available for Android phones at: https://play.google.com/store/apps/details?id=com.araconsoftware.rundemo
Feel free to reuse the code :)