I am developing my first windows mobile application and would like some guidance on the best way to save and restore application state between invocations of the applications.
My application will have a small number of properties, between 10 and 20, that I wish to store when I exit the application and restore when I restart.
My options for doing this would seem to be as follows :-
- Marshall in and out of XML
- Use a SQL Server 2005 Compact edition database
- Use a properties file with key-value pairs
- Use the registry.
What would generally be considered to be the standard/best practice way to do this?