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 <darshana.gar...@gmail.com> 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 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 system
> once the resources are available, but what is the recommended way to
> save the state of the service before it gets killed?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to