O'Reilly logo

Android™ Wireless Application Development Volume II: Advanced Topics, Third Edition by Shane Conder, Lauren Darcey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required