Code for my Android tutorial