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 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 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, a feature that is also known as multitasking.
Unable to display preview. Download preview PDF.