Code from working through the Udacity 'Developing Android Apps' course