Sample code for introductory Android programming course