Questions tagged [tombstoning]

For Windows Phone applications, tombstoning is the process in which some data about the application state are saved upon app termination so that this state is re-created if the user navigates back to the tombstoned application (in order to simulate multitasking).

From the MSDN article about the Execution Model for Windows Phone, tombstoning is:

The process in which an application is terminated, but some data about the state of the application and the individual pages within the application is preserved. The data that is saved includes the currently displayed application page and the back stack of pages that had previously been visited in the application. If the user navigates back to a tombstoned application, the application is re-created, and the current page and page history are restored automatically.

Concerning the "tombstoned" state of an application:

A tombstoned application has been terminated, but information about its navigation state and state dictionaries populated by the application during Deactivated are preserved. The device will maintain tombstoning information for up to five applications at a time. If an application is tombstoned and the user navigates back to the application, it will be relaunched and the application can use the preserved data to restore state. Otherwise, the application is simply terminated.

102 questions
0
votes
2 answers

Saving Generic List in Windows Store Xaml App

I am trying to develop xaml app for Windows Store. During development I faced a problem. I want to save a generic list of object to the local store but each time I try to save the list, it fires an exception of "type not supported". Can anybody…
master.fake
  • 487
  • 1
  • 6
  • 22
0
votes
1 answer

app certification requirements when returning from tombstoning

I have a page where user can enter his name and attach an image. When returning from tombstoning state, is it mandatory for my app to restore the image too? Is it app certification requirement, something without which my app will not pass…
WriteEatSleepRepeat
  • 3,083
  • 3
  • 33
  • 56
0
votes
1 answer

Saving String values for Tombstoning

I'm currently developing an app for Windows Phone 7.1, and need to save some data for when the user quits the app. The app is pretty straightforward: the MainPage is the first thing the user sees, in which they select one of four shopping centers.…
iVikD
  • 296
  • 7
  • 21
0
votes
1 answer

VieModel collection not saved during State Save/Tombstone

If I lock my phone while running my application and unlock it say after 30 minutes or 60 minutes, my screen appears blank. All my data (its a huge list compare it to a user's twitter feed) which was in an Observable collection in my ViewModel has…
0
votes
1 answer

slowly when recoving from tombstone in wp7

I encountered a problem in my project. It's about tombstone. I found out that it takes a long time to recover, sometimes it can be as long as 5 minutes with no error occuring! I have never had a problem like that, can anyone tell me why? Thanks
jeekun
  • 1
0
votes
1 answer

Which approach is better? "Tombstoning the app and reloading the data on resume" or 'Running under lock screen/background"

I am currently working on an application which requires fetching of data from the net. But if the user presses the start button or starts any other application, the data fetching process in my application is interrupted and the app throws exceptions…
Milan Aggarwal
  • 5,104
  • 3
  • 25
  • 54
0
votes
2 answers

How to know when the user presses the hard button on iOS device before it takes a screenshot of the screen?

On iOS, when the user press the hard button, it seems that the system makes a screenshot of the state of the app (to display it during the next launch of the app, in order to make the loading transparent for the user) and then it calls…
Vincent
  • 1,013
  • 14
  • 33
0
votes
1 answer

Tombstoning in WP7

I want to implement tomb-stoning in my WP7 app and this app is not based on MVVM Pattern. Can any one refer me any good example of that to implement that. So I can maintain states of my app with some generic class.
Arslan Pervaiz
  • 1,575
  • 4
  • 29
  • 62
0
votes
1 answer

how should a metro app cache images for tombstoning (and should it)?

I have a c# metro app that downloads a collection of objects that have a property for a uri. This collection is bound to a ListBox with an Image source bound, this works fine. When the app is tombstoning, I want to preserve all app state including…
rob
  • 8,134
  • 8
  • 58
  • 68
0
votes
1 answer

DataServiceContext not usable after after Serialize/Deserialize round-trip

I'm struggling with tombstoning support in my WP 7.1 app. I have a single long-lived instance of DataServiceContext, which I serialize and deserialize using a DataServiceState helper. Upon deserialization, I can successfully retrieve an instance of…
lencharest
  • 2,825
  • 2
  • 15
  • 22
0
votes
2 answers

Wp7 serialization security exception

First of all, the description may be a little long with lots of code, but I wan't to provide with all the information I can. I'm working with tombstoning for my app, and I would like to save a serialized class: [DataContract] private class…
-1
votes
1 answer

Windows Phone 8 prevent the app from ever being re-activated and restart on next launch

I've got a big code base we just migrated to phone and are beginning to deal with tombstoning and deactivation. In the meantime I'd like to stop the app on Application_Deactivated so that it will call Application_Launching rather than…
jchristof
  • 2,794
  • 7
  • 32
  • 47
1 2 3 4 5 6
7