[android-developers] how much time we have at onPause until we are killed?

2010-02-17 Thread guich
Hi, When the user press the home key, the onPause method is called. At this time, the application is supposed to save its state so it can be properly recovered later. However, and if the state is taking too much time? For example, issuing a closeAllNetworkConnections that was waiting a feedback

Re: [android-developers] how much time we have at onPause until we are killed?

2010-02-17 Thread Mark Murphy
guich wrote: When the user press the home key, the onPause method is called. At this time, the application is supposed to save its state so it can be properly recovered later. That depends on what state you are referring to. onSaveInstanceState() is for data that is transient. onPause() might