Code converted to Scala to give as an example of building a Scala based app for Android.