On Thu, Mar 31, 2011 at 10:04 AM, Amit <[email protected]> wrote: > Does OS calls any method on service to notify device is going to sleep > or abruptly it causes CPU to shutdown.
It abruptly causes the CPU to shut down. > If any service is running at > that time, is it guarnteed to be up and running at the same state when > phone turns up! Well, the user could drop the phone and have the battery pop out, etc. Generally speaking, your service will wake up and execute the next instruction. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

