Android Services Intent ReDelivery Part – 3

In this video, we learn – What is start_sticky in android? If the Service process is automatically terminated by the system, the Service is going to be restarted again and no processed Intents will be delivered to the onStartCommand function. and If a start request didn’t return before the system kills the Service, the start request is submitted again on the restarted Service passing to the START_FLAG_RETRY on the onStartCommand second argument.

– What is start_not_sticky in android? If the Service is terminated by the system and the system will not try to re-create your service after it is killed, that means Start_Not_Sticky in Android.

 


Leave a Reply

Your email address will not be published. Required fields are marked *