concept device messaging in category android

appears as: Device Messaging
Android in Practice

This is an excerpt from Manning's book Android in Practice.

If you took a poll of Android developers and asked them what the most important new feature in Android 2.2 (Froyo) was, many of them would instantly say Cloud to Device Messaging (C2DM). This is Android’s answer to Apple Push Notification Service (APNS), only it has many advantages over APNS. With C2DM, remote web servers can send Intents to specific applications on specific Android devices. For our sample application, we can use C2DM to allow a server to tell our background Service to refresh its cache and check for Notifications. To use C2DM requires a few steps of setup and several permissions. Here are some of the new additions to our AndroidManifest.xml.