O'Reilly logo

Beginning Windows® Phone 7 Application Development: Building Windows® Phone Applications Using Silverlight® and XNA® by Robert Fonseca-Ensor, Karli Watson, Nick Lecrenski

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

SUMMARY

In this chapter, you learned about several core Silverlight for Windows Phone 7 concepts, including Isolated Storage, page navigation, and application life cycle events. You saw several different ways to store data in your application, including using Isolated Storage as a fi le system as well as making use of the IsolatedStorageSettings object. Then you learned to create multi-page applications and navigate between pages, using the powerful Navigation Framework.

Finally, you saw that your application needs to be aware of the various phone events that can take place. Some of these events can put your application into a suspended state. To ensure a great user experience, you learned how to save your application state and page state so that it can quickly be restored when your application once again is brought to the foreground. You also learned how to debug code in the various event handlers, using the emulator software.

EXERCISES

  1. Which of the following are valid options to use when saving data to Isolated Storage? (Choose all that apply.)
    1. IsolatedStorageFile
    2. IsolatedMemoryFile
    3. IsolatedStorageSettings
    4. PhoneApplicationService
  2. True or False: When an application is in the running state, you can add custom code to the Application_Running event handler.
  3. What is the maximum amount of space your application can use from Isolated Storage?
  4. Which two method overrides can you use to run custom code when a user navigates both to and from a page?
  5. Which of the following is not a valid ...

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