Skip to Content
Beginning Windows® Phone 7 Application Development: Building Windows® Phone Applications Using Silverlight® and XNA®
book

Beginning Windows® Phone 7 Application Development: Building Windows® Phone Applications Using Silverlight® and XNA®

by Nick Lecrenski, Karli Watson, Robert Fonseca-Ensor
May 2011
Beginner
600 pages
16h 56m
English
Wrox
Content preview from Beginning Windows® Phone 7 Application Development: Building Windows® Phone Applications Using Silverlight® and XNA®

THE APPLICATION LIFE CYCLE

Up to this point, you've created several small sample applications without worrying about what might happen if a phone call or text message were to arrive while your app is running. The goal of the Windows Phone 7 platform is to provide a smooth interface for users, so your application must handle these events gracefully. Luckily, the standard Windows Phone 7 project template creates default handlers for these events and gives you a boilerplate code to use when these events are fired. Before diving into the specifics, however, it's important to take a look at the overall application life cycle so that you are familiar with all the application states that will take place.

The Windows Phone 7 platform has a primary goal of providing a fast user experience, and one of the ways this is accomplished is by ensuring that the current application in the foreground is always treated with the highest priority. In most cases, the background application that was running is actually suspended. When users start your application, they're free at any time to hit one of the main buttons on the phone, including Back, Home, and Search. When this happens, you can expect that your application will no longer be in view of the user, and in most cases it will actually be suspended until the user decides to return to your app. As you'll see, the back button is somewhat of a special case in that if your application utilizes multiple pages, users will continue to navigate back until ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Windows® Phone 8 Unleashed

Windows® Phone 8 Unleashed

Daniel Vaughan
Beginning Windows Phone App Development

Beginning Windows Phone App Development

Henry Lee, Eugene Chuvyrov

Publisher Resources

ISBN: 9780470912331Purchase book