C H A P T E R  17

Push Notifications

One day in the somewhat distant future, smartphones and other mobile devices will ship with batteries that last for weeks without the need to recharge them. But until that day arrives, Windows Phone software developers must write applications that use energy sparingly, since a resource-intensive program, such as one that uses the built-in cellular or Wi-Fi radio continuously, can quickly drain a Windows Phone battery. To prevent this from happening, Microsoft has built a number of features into the Windows Phone application platform to ensure that the phone battery lasts as long as possible. One such feature allows applications to appear as if they are constantly running in the background, providing updates ...

Get Beginning Windows Phone App Development 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.