If i open my app a second time, it has to open the same instance as was opened before.
Can someone help me with this?
If i open my app a second time, it has to open the same
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The only way your app will open the same instance is if the user leaves with the start button, then comes back using the back stack. In order to preserve the experience in this instance, you need to use Tombstoning. http://msdn.microsoft.com/en-us/magazine/hh148153.aspx
If you need them to be able to come back to the same experience, in every instance of starting the app, then you need to save the data each time it is changed, and when the app starts, you need to refresh the display with that saved data. You can do this using the ApplicationSettings of IsolatedStorage. http://dotnet.dzone.com/articles/using-application-settings
Here are a couple of other resources to look at:
http://windowsteamblog.com/windows_phone/b/wpdev/archive/2010/07/15/understanding-the-windows-phone-application-execution-model-tombstoning-launcher-and-choosers-and-few-more-things-that-are-on-the-way-part-1.aspx
http://msdn.microsoft.com/en-us/library/ff817008(v=VS.92).aspx