开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜