Please read the documentation on Service, the overview documentation on
applications (which has a section on process lifecycles/management), and
there are a number of examples in ApiDemos of creating services that run
after an activity finishes.

On Thu, Apr 9, 2009 at 12:29 AM, jj <[email protected]> wrote:

>
> Hello folk
>     I want to run application in background. When user close the
> foreground screen, application should be running in background. so in
> foreground there is no screen of this appl, while user can launch
> other appl also.
>     To achieve this with the "service component", is it necessary to
> create separate process to run this service component or the main appl
> process is enough to run service component in background.
>        While closing the foreground screen of main appl the process
> of this appl is also killed? Or is it remain there to run background
> service.
>
> I want suggestion for this issue, Or any other way to attain the goal.
>
> Thank you
> >
>


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to