Chapter 17. Push Notifications

One day in the somewhat distant future, smartphones and other mobile appliances will ship with batteries that last for weeks without the need to recharge them. But until that day arrives, Windows Phone 7 software developers 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 safeguards into the Windows Phone application platform to ensure that the phone battery lasts as long as possible. One such safeguard prohibits any third-party application from running in the background while another is executing in the foreground, ...

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