I\'ve implemented a sticky service and when I force close the app I see that the Activity\'s onDestroy() is called. But the service doesn\'t apparently do anything.
how do I know when the service is force closed?
You don't. onDestroy() is not guaranteed to be called, on any component.
onDestroy()
I need to trap that event so that I can close files.
Then don't leave them open.