2009/5/7 tek <tek.bas...@gmail.com>

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

Hi tek,
I could acomplish the same thing 3 days back.
i started the core service with boot completed, and the 2nd service is
triggered with an activity.
This was working.
Thanks Tek..

>
>
> On Apr 22, 5:33 am, Naveen Krishna Ch <naveenkrishna...@gmail.com>
> wrote:
> > Hi Dianne,
> >
> > thanks for your quick reply,
> >
> > 2009/4/22 Dianne Hackborn <hack...@android.com>
> >
> > > 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 <
> > > naveenkrishna...@gmail.com> 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
> > > hack...@android.com
> >
> > > 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 :)
> >
>


-- 
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 android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to