Re: [android-developers] Saving bound service state before it is killed

2011-09-15 Thread Mark Murphy
http://stackoverflow.com/questions/7438516/saving-bound-service-state-before-it-is-killed-by-android/7439024#7439024 On Thu, Sep 15, 2011 at 7:01 PM, Darshana wrote: > When a service is killed by the OS (due to low memory or low power). > Does the service get notified before it is killed? Does th

[android-developers] Saving bound service state before it is killed

2011-09-15 Thread Darshana
When a service is killed by the OS (due to low memory or low power). Does the service get notified before it is killed? Does the onDestroy() callback get called? Our main concern is our ability to save the state of a service before it is killed. We know that the service may be restarted by the sys