Hi, is there a way for me to detect that the OS is shutting down so I can take steps to save data I have in memory? I have an app which runs a service and is set to startup at boot. The user may never launch the UI so I can't count on Activity_Pause as it never fires. I tried the Service_Destroy events in both my service module and the Stater module but they don't fire either.
Do I have any way to know that the app (and its service) is being terminated as a result of a device reboot?
Thanks.
Do I have any way to know that the app (and its service) is being terminated as a result of a device reboot?
Thanks.