Code for a simple android app