savestate

Save Windows Form Size

I'm developing a piece in VB.NET. Inside my primary form, I'm creating a new form to use as a dialog. I was wondering if there was a way to, upon the close of the new dialog, save it's size settings for each user (probably in a file on their machine, through XML or something?) ...

Want to save binary tree to disk for "20 questions" game

In short, I'd like to learn/develop an elegant method to save a binary tree to disk (a general tree, not necessarily a BST). Here is the description of my problem: I'm implementing a game of "20-questions". I've written a binary tree whose internal nodes are questions and leaves are answers. The left child of a node is the path you'd...

Android WebView save state?

Hello, In the Browser that comes with Android, when you rotate the phone, the WebView is not reloaded. I was wondering how to do this. I can save the current URL of the webview and pass it to the next version of myself, but how do I with the whole WebView. Thanks, Isaac ...

ASP.NET Save HTML Sent to Browser

I need to save the full and exact HTML sent to the browser for some transactions (for legal tracking purposes.) I suspect I am not sure if there is a suitable hook to do this. Does anyone know? (BTW, I am aware of the need to also save associated pages like style sheets and images.) ...

iPhone- How to save the view controller object itself?

Hi, I want to save the state of my view controller. I searched and found that I should save the state by saving state variables. But I am interested in saving the view controller object itself. Is there any way to save the view controller object itself so that when I restart the application I see the same view state too on which I was ...

Android content saving

Hi again friends... i have a wierd problem... As i have asked in previous posts... i have a lot of data coming from NET in my app... The problem is that a lot of text and images r there... so though i can make the user wait wen he clicks on a list item, but i dont want to make him wait wen he clicks the back button... In the sense that...

Android 1.5 and 1.6 afer calling finish activity and home button weird behavior.

Android Platform 1.5 I open splash screen at the end i call finish() then i moved to browse page. At the browse page when i click on home button it hide the application.(b/c of Android's Multi tasking feature) When i go to Android's desktop launch application again it starts from splash screen. Android Platform 1.6 I open splash sc...

richfaces keepAlive not working

I have a mediaOutput tag which, in its createContent attribute, requires the backing bean to be in a certain state. A list of values, which is filled in an init method, must be available. I therefore added a keepAlive tag for the whole backing bean. I now indeed see the backingBean in stead of some (richfaces) proxy bean, but the filled...

android saveinstance saving vector datatypes

hi friends, I am making an application which is currently working perfectly but with only 1 problem... As we all know that the activity is destroyed and recreated when user changes the orientation of the phone... my activity needs to save a vector full of objects wen the activity is recreated... i checked the OnSaveInstance() method and ...

how to save current state of application

hi, I am making an iphone application in which after login we will go through some steps and then finally we make a call from within the app. As we know on making call our app quits so plz suggest me how to resume that state on relaunching the app? 1-login 2-some steps 3-list of numbers 4-call Any help will be appreciated. Thanx.. ...

Saving cursor state with activity instance?

I've got an android app that pulls a random 20 questions (rows) as a cursor from a SQLite DB and loops through all the questions to ask the user all 20 questions. Is there some way to save the cursor's state/location when the activity is paused or stopped so that when the activity resumes the cursor is restored and in the same position ...

How do I retain the state of a data input screen on a ASP.NET Page using ExtJs Controls

Hi, My Client has an application that is built in ASP.NET (c#) that makes use of a lot of ExtJS controls. I need to enable the application to save every thing on the entry screen to a temporary storage mechanism and when necessary restore it. The scenorio is the user has captured some data to a specific screen but is unable to continu...

ExtJS - Save State of treePanel.

TLDR I want my treepanel from EXTJS to remember its previous settings. ExtJS-3.2.1 I have seen this done before for ExtJS-2.x.x :See here on the extjs forums. But as seen as they are pretty much lifeless, with threads on there asking this question or similar with no reply for up to 6months. I thought I would bring it here. I need to ...

applicationWillTerminate Appears to be Inconsistent

This one has me batty. In applicationWillTerminate I am doing two things: saving some settings to the app settings plist file and updating any changed data to the SQLite database referenced in the managedObjectContext. Problem is it works sometimes and not others. Same issue in the simulator and on the device. If I hit the home button wh...

Time lag between PreRenderComplete and SaveState

We are tracing our ASP.NET application and find that for one of our pages we see that there is a time lag of around 2.5 secs from the time PreRenderComplete Ends to SaveState Begins. Below is a part of log aspx.page End PreRender 9.123185387 0.184541 aspx.page Begin PreRenderComplete 9.123277718 0.000092 aspx.page End PreRenderCom...

Save android.app.Application state

Hello everyone! I've encountered a problem wile using my own subclass of android.app.Application. I have numerous activities in my application and I'm running a custom ROM which consumes quite a lot of memory. What happens is when I launch a third party activity (Camera) my Application is killed. My Application subclass stores vital dat...

what is Best way to save the large number of Checkboxes state in Android ?

I have some 34 checkboxes on one Activity which i have to mark and unmark. and I want to save the status of the each checkbox. I want this persistently. So should i have a sqlite table or preferences ? If sqlite table is recommended, then what should be the ideal table structure design? ...

Good example of XNA 4.0 to save game data?

I am trying to work my way through the XNA MSDN documentation on saving and reading game data, and I am not having much luck. In essence I have a manager class which keeps track multiple instance of of base classes. I want to be able to save the state of the entire list of objects that the manager is keeping track of then then load the...

[NSUserDefaults standardUserDefaults] in iOS4.0

Hi, i got a problem in [NSUserDefaults standardUserDefaults] in iOS4.0. I saved some states by using [[NSUserDefaults standardUserDefaults] setObject:self.listData forKey:@"listData"]; in applicationDidEnterBackground: and applicationWillTerminate: methods. And i retrieved the data by using NSMutableArray *listData = [[NSMutableArray al...

Hibernate one application? (save state)

Is there software which allows to hibernate (save state) of the specific application and then recreate it (maybe on other computer)? Is it possible to write such type of application? ...