24. Working with Cloud to Device Messaging

Does your application need to connect to a server and download data to keep its content fresh? Does the data come in at random times, as opposed to on a schedule (once-a-day news article download)? Are you considering implementing a polling mechanism so that your Android application can routinely check your application server for new content? If this is the case, you might want to look into Google’s Cloud to Device Messaging (usually referred to as C2DM) service instead, because it can save you a lot of work and results in more efficient use of the user’s device resources. In this chapter, we talk about this third-party service, which is available to Android developers when targeting devices that include ...

Get Android Wireless Application Development Volume II: Advanced Topics, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.