Sample application from https://developer.android.com/training/index.html