No it can not. On Tue, May 3, 2011 at 6:09 PM, Eric <[email protected]> wrote:
> The Android documentation says this: > > http://developer.android.com/guide/topics/fundamentals/services.html > > "The Android system will force-stop a service only when memory is low > and it must recover system resources for the activity that has user > focus. If the service is bound to an activity that has user focus, > then it's less likely to be killed, and if the service is declared to > run in the foreground (discussed later), then it will almost never be > killed" > > > Is this talking about a Service that is in the same process as the > aforementioned Activity (local Service), or a different process > (remote Service)? I assume this refers to a Service in the same > process, which then means that a Service can be 'killed' (maybe better > term is 'stopped') by Android without its process (and thus associated > Activity) also being killed. Is this correct? Or is the > documentation referring to a Service in another process? It makes > more logical sense to me that Android would only 'kill' a Service by > killing the process the Service is in, but this documentation makes me > wonder if that is incorrect. > > -- > 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 > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

