Homework 2 for EECS 481 (Android)