Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!
Windows Phone Zone is brought to you in partnership with:

Chris is married to the love of his life, Danielle. He is a wrangler and writer of developer content for DZone, where he enjoys finding great Python and Windows Phone content. Chris once went a whole week without blinking. He used to be an adventurer like you, but then he took an arrow to the knee. Chris is a DZone employee and has posted 184 posts at DZone. You can read more from them at their website. View Full User Profile

Get to Windows Phone Mango #2: Adding FAS to XNA

02.22.2012
Email
Views: 736
  • submit to reddit
It's so easy to get up and running with your first Windows Phone app!  Just pick up the FREE toolkit from Microsoft, register at AppHub, and start checking out some fundamental tutorials.

 

 

Code for this project

This is the second in a series of videos that will detail how to add Windows Phone Mango functionality to an existing Windows Phone application, step by step.

In our first sample, we modified an existing XNA game to leverage the new Silverlight / XNA integration available in Windows Phone Mango. This allows us to utilize the Silverlight paging model to very easily create a 'pause' screen, that users will get when they return to the application, (after they've navigated away).

Having to navigate away, of course, is a common occurrence on a phone; users receive phone calls, are have to pay attention to external events, (like the street light turning green, for example).

Getting the pause screen to 'work' of course requires more than just adding it in Silverlight. We need to implement tombstoning and FAS, (the whole point of this sample).

Here are some other resources you might find helpful as you consider adding Fast Application Switching to your projects:

Official Documentation


Other Resources


(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

The Windows Phone Microzone, which is supported by Microsoft, is your one-stop-shop for news, tutorials, perspectives, and research on the mobile platform that is making waves in smartphone ecosystem.