Android code for CS 301