I know that the apps receive a ACTION_SHUTDOWN broadcast event when the device is shutting down. When an application receives the shutdown, is there still an opportunity to send da开发者_如何学Pythonta packets out, or does android block such attempts(or does the platform tear down the network stack before it can go out).
It turns out that you can still send out some data packets after receiving the ACTION_SHUTDOWN event before the phone dies completely.
精彩评论