Code for Android Application Project 1