What should you recommend?

You are designing a Windows Phone 7 application that uses several pages for the entry of user data. A user can navigate freely among the pages in the application at any time. The user can also perform actions that use a PhotoChooserTask object to select images. You need to recommend a way for the selected images to persist when the user navigates through the application. What should you recommend?

You are designing a Windows Phone 7 application that uses several pages for the entry of user data. A user can navigate freely among the pages in the application at any time. The user can also perform actions that use a PhotoChooserTask object to select images. You need to recommend a way for the selected images to persist when the user navigates through the application. What should you recommend?

A.
Add a button to the page with a Click event that persists the page data to IsolatedStorage when the button is clicked.

B.
Add NavigatedTo and NavigatedFrom events that retrieve and store page data by using the State property of the PhoneApplicationService object when the events are executed.

C.
Add logic to the Application_Launching and Application_Closing events that retrieve and store page data to IsolatedStorage when the events are executed.

D.
Add logic to the Application_Deactivated and Application_Activated events that retrieve and store page data by using the State property of the PhoneApplicationService object when the events are executed.



Leave a Reply 0

Your email address will not be published. Required fields are marked *