Android C2DM working if the task is killed
If a server tries to send a cloud message to a device, but the task is killed somehow (such as开发者_Python百科 advanced task killer), will the message be shown?
Yes. You should be using a BroadcastReceiver
that is registered in your manifest to receive the C2DM message broadcasts meant for your application when they hit the device. The messages are sent over a connection that is maintained by Google services and, thus, is independent of whether your app is already running.
精彩评论