On Feb 17, 7:11 am, Sivaprakash <[email protected]> wrote: > OK if you go through the following link > > http://developer.android.com/guide/topics/fundamentals.html > > Processes and lifecycles sectionthere are two things Service Process and > Background Process, how they differ each other? > > - Siva >
The process descriptions at the bottom of that link are letting you know the order in which the OS will reclaim resources. Here's my rudimentary understanding: "background process" is something that is not currently visible or actively processing, the canonical example being an Activity whose onStop() has been called. Such processes can be killed by the OS when it needs to reclaim resources. "service process" is something that is not visible, but is currently processing and affecting the user experience. Think of playing music or monitoring location, for example. A Service (i.e. instantiation of the class Service) can and will be classified as all of those processes during its lifetime. Part of the confusion is that a service isn't necessarily running in a separate process from the Activity that instantiates it and launches it. -- 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

