Android: BroadcastReceiver to restart killed/crash

2019-02-24 07:50发布

I have an application and I would like to be able to restart it on the event of an error or a crash/app shutdown. I am familiar with how to register BroadcastReceivers, use alarms, etc.

Is there any signal I could intercept that the app sends out when it shuts down? Or that the OS sends out when any app shuts down?

1条回答
2楼-- · 2019-02-24 08:20

Is there any signal I could intercept that the app sends out when it shuts down? Or that the > OS sends out when any app shuts down?

No and no, AFAIK.

查看更多
登录 后发表回答