Start a service from Thread.UncaughtExceptionHandler?
问题 I'm trying to setup a global exception handling service as mentioned in this answer. This approach sounds logical because after a crash, the code in my custom Thread.UncaughtExceptionHandler may not execute successfully, either because the application may not be in a stable state or because there may not be enough time before the process is killed by the OS. Unfortunately, this approach doesn't seem to work because the service launches in the same process so it, too, is killed. How can I