[android-developers] Re: running appl in background

2009-04-13 Thread Dianne Hackborn
No. You are right that bindService() will keep the target service running (ONLY if you pass in the appropriate flag), but if you use startService() then the service will remain running even if nothing is bound to it. On Mon, Apr 13, 2009 at 2:35 AM, jj wrote: > > If service is running in

[android-developers] Re: running appl in background

2009-04-13 Thread jj
If service is running in background in another process, independent of foreground activity process. As per my study I got the two ways to know with background process update, 1. using IPC(AIDL) bindService() 2.broadcasting intent from service whenever we want update for particular func

[android-developers] Re: running appl in background

2009-04-09 Thread Dianne Hackborn
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 wrote: > > Hel