Exercising Android programming technique