I checked out this link: http://msdn.microsoft.com/en-us/library/ff769510(v=VS.92).aspx
But when I run the default windows phone emulator from visual studio and check the checkbox, and then return a screen en then open my application again, the box is no longer checked.
Now, since this is an emulator I dont know if it also emulates local storage..if not I’d like to know that as well.
The example site also mentions this part:
<phone:PhoneApplicationPage.Resources>
<local:AppSettings x:Key="appSettings"></local:AppSettings>
</phone:PhoneApplicationPage.Resources>
But I get an error: Cannot create an instance of “AppSettings”.
So how can I fix this? And how do I know something was actually saved.
My example application can be found here:
http://www.wunderwedding.com/files/MyFirstWP7App.zip
This is because instantiating ApplicationsSettings throws an exception. If you add the following to your constructor, you should be fine;