Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个应用程序,我希望能够在发生错误或崩溃/应用程序关闭时重新启动它。我熟悉如何注册BroadcastReceivers,使用警报等。
BroadcastReceivers
是否有任何信号可以拦截应用程序在关闭时发出的信号?或者当任何应用程序关闭时操作系统会发出?
是否有任何信号可以拦截应用程序在关闭时发出的信号?或者当任何应用程序关闭时 > 操作系统会发出?
不,不,AFAIK。