Android Application (based on : http://lia.deis.unibo.it/Courses/sm1314-info/lucidi/esercitazioneandroid(2x).pdf)