Sample app from official tutorial on Android Developers site