3 ms·
Sorry, I didn't understand. We need a service side service to keep track of ack's that we received from the device. I am not able to understand how a db flag wo
by me551ah 8y ago
Sorry, I didn't understand. We need a service side service to keep track of ack's that we received from the device. I am not able to understand how a db flag would help.
- Izkata 8y agoIf all you need is to detect it on the next boot to notify the user, as the prior comment said, then for example: onCreate - check "running" flag, then set to true onDestroy - set flag to "ended" If onCreate saw the flag was already "running" before it was set, then you have a crash to recover from or a kill to notify the user about.