Tuesday, January 17, 2012

[android-developers] Accessing remote service methods from both binded service

I have two services A and B. If we want to access some methods of
service B in service A we have to create a ServiceConnection class and
inside service A we have to create Stub and implements the methods.

But I also want to access the methods of service A from service B. For
trial I created one more aidl connection and implemented
ServiceConnection it works fine, is it the only way OR we can use the
existing serviceconnection and implement this functionality by other
way?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate