Is there a way to detect when my Android service restarts due to a crash? Could the service itself know about this after it was restarted? Or can the client applications get this information?
I tried to use the START_FLAG_REDELIVERY flag in the service but Im not sure how it works.