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
1 answer

Handling windows button during Async BeginGetResponse in wp7

is there any way to handle the Windows button keypress within the *.Xaml.cs especially when the app is busy getting a request processed using an Asynchronous BeginGetResponse. is there a override handler like OnBackKeyPress? What's the appropriate…
Jay Kannan
  • 1,372
  • 3
  • 14
  • 30
0
votes
2 answers

How to refresh date time when the app is reactivated in WP

i would like to know if it is possible to refresh date time when the app returns from a deactivated state in WP7.5. My app is basically a calendar type and when the app starts the current day is highlighted. So if i start the app, then press the…
alfah
  • 2,077
  • 1
  • 31
  • 55
0
votes
1 answer

Tombstoning to clean up memory WP7

after looking at several posts online about memory usage like this one http://nicksnettravels.builttoroam.com/post/2011/02/10/Windows-Phone-7-Navigation-Memory-Usage.aspx and strugglug with similar issues in my own app, I am trying to reduce the…
Jay Kannan
  • 1,372
  • 3
  • 14
  • 30
0
votes
1 answer

Can't tombstone ItemsSource of a ListBox

I have a ListBox populated with data coming from XML. Fine so far, the problem is that I get some errors when I try to tombstone it. protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e) { …
Diego Vin
  • 193
  • 2
  • 12
0
votes
2 answers

How to save property after tombstoning?

I have some property OwnerId that has each page in my application. I need these property to create HttpWebRequest and get some data. But when the application deactivated and activated again the page as deleted and created again, so these property is…
Aram Gevorgyan
  • 2,175
  • 7
  • 37
  • 57
0
votes
1 answer

Resuming WP7 app when in background instead of launching new instance

I have a question about WP7's (Mango) behavior in the following scenario: Open a new instance of an app and play a song Press the windows button to navigate to the home screen Song continues to play Open the application again by either tapping on…
letstango
  • 789
  • 6
  • 14
0
votes
1 answer

Tombstoning for a "read-only" app

I'm developing a Mango app that connects to a local database, reads data from it and never modifies them nor inserts. I've heardt that bad tombstoning handling can make the app to be refused to the marketplace. What are the practices to follow for…
Cris
  • 12,124
  • 27
  • 92
  • 159
0
votes
1 answer

WP7 Tombstoning - cannot set list selected item value from State data

I am setting up tombstoning for a simple WP7 app. I have a list of items, and I want to save the ListBox.SelectedIndex in State memory, and on returning to the page, have that item selected in the list. When I try the following code, saving the…
Will Gill
  • 577
  • 2
  • 10
  • 21
0
votes
1 answer

How can I tombstone the child VMs in caliburn.micro

I run into some problems with tombstoning in Caliburn.Micro. I have a pivot control in which we have a listbox in every pivot control item. I just to want to save the list(s) using caliburn.micro's built-in support I Have a MainViewModel which will…
Peng Wang
  • 227
  • 3
  • 13
0
votes
1 answer

WP7 Tombstoning and Querystring

I am running very basic xml reader and I pass some data to the details page by using: private void HaberlerListBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (e.AddedItems.Count > 0) { …
nacon
  • 95
  • 6
0
votes
1 answer

WP7 Tombstoning - Easy practice

I have a databound xml reader. MainPage is connected to DetailsPage: When user clicks on the name in Main Page, She gets the details of this name (Age, Gender, Date of Birth etc.) in the DetailsPage. I am in trouble with tombstoning atm. When I…
FrankCap
  • 63
  • 6
0
votes
1 answer

MVVMCross 6.4.3 Restore is not working as expected

I have a view (A) from which I can navigate to another view (B) If I tombstone the app when I am viewing view B When I restore it I see the following getting called View B - Constructor View B - Reload from Bundle View B - Prepare View B -…
rideintothesun
  • 1,628
  • 2
  • 12
  • 29
0
votes
3 answers

WP7 app won't load after pressing start and back button

I'm having some issues with my application and resuming it after, say, receiving and reading a text. It currently works on locked screen with no issues but when I press the start button and do something and then press back to resume the app the…
James Mundy
  • 4,180
  • 6
  • 35
  • 58
0
votes
1 answer

Cassandra Read time out on performing query in order to mass delete

I have Cassandra cluster with three nodes. I want to perform clean up task on particular table which consist around 1 TB of data in each node. Table consist multiple rows of subscriber with date_created(timestamp), I want to clear all rows of…
0
votes
2 answers

WP7 game: Call Web Service when Deactivated (tombstoning)

I'm running into a weird problem and I want to know if it is normal or if I'm missing something. Here's the situation : I'm developping a multiplayer game in XNA for WP7 When a user quits the game (enters in tombstoning or exiting), I want to warn…
esylvestre
  • 1,850
  • 4
  • 21
  • 30