Code for my android tutorial