Edit: Killing the Activity does not kill the service, unbinding the service kills it, small distinction. I do the unbinding in onStop, find that to be the most reliable.
On May 6, 7:27 pm, tek <[email protected]> wrote: > One other note, if you use the Service.BIND_AUTO_CREATE flag to start > the service in your activity, then killing the activity kills the > second layer as well. > > On Apr 22, 5:33 am, Naveen Krishna Ch <[email protected]> > wrote: > > > Hi Dianne, > > > thanks for your quick reply, > > > 2009/4/22 Dianne Hackborn <[email protected]> > > > > Since this is just about using the normal SDK APIs, as far as I can tell, > > > you should ask on android-developers. Also there are a number of examples > > > in ApiDemos of this kind of thing, in particular the remote service > > > examples. > > > I have gone through the Service related things in ApiDemos. But, > > haven't come across something like > > > Activity -> Service -> Service -> Stub. > > > Every thing is a > > Activity -> Service -> stub > > concept. > > > However, i will try in developers community also. > > > > On Tue, Apr 21, 2009 at 10:06 PM, Naveen Krishna Ch < > > > [email protected]> wrote: > > > >> Hi guys, > > > >> I am working on an application stack which requires some sort of > > >> communication between 2 services. > > > >> Now the frame work supports Activity binding to Service. > > > >> Activity -> Service -> ServiceStub(generated by AIDL) > > > >> Is there any work to support > > >> Activity binding to service this instead bind to another service. > > > >> Activity -> Service -> coreService -> ServiceStub(generated by AIDL) > > > >> Any help is appreciated, > > > >> -- > > >> Cheers > > >> (: Naveen Krishna Ch :) > > > > -- > > > 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. > > > -- > > Cheers > > (: Naveen Krishna Ch :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" 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-framework?hl=en -~----------~----~----~----~------~----~------~--~---
