Android activity life cycle.