I just did this same thing, reason being is the main service holds
just a little bit of info (list of strings) while the various other
services house the controllers for the various UI components.

This is very easy to accomplish, simply do as you would normally do
with activity -> service communication. Connect your Activity to the
2nd layer service, then connect that 2nd layer to the final background
service. Seems to work just fine. The Service class has bindService
and unbindService methods, simply utilize those.

Hope this helps!

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

Reply via email to