Week 3 lab1 for Coursera android class