Sample code from Week 4 of Introductions to Nativo Programming in Android