O'Reilly logo

Microsoft® Silverlight® Edition: Programming Windows® Phone 7 by Charles Petzold

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Xna Tombstoning and Settings

XNA applications aren’t normally built around pages like Silverlight applications. If you wanted, however, you could certainly implement your own page-like structure within an XNA program. You’ll recall that the state of the phone’s Back button is checked during every call to the standard Update override. You can use this logic for navigational purposes as well as for terminating the program. But that’s something I’ll let you work out on your own.

An XNA program can also make use of the same PhoneApplicationService class used by Silverlight programs for saving transient state information during tombstoning. An XNA program can also use this class to install handlers for the four PhoneApplicationService events: Launching, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required