Android sample for logging life cycle of Activities