a simple android activity lifecycle demo