Hi, folks!

I'm searching for the simplest way to implement a communication
between an activity and a service when both are running at the same
process.

I've already made it using binders like the official example in the
API Demo, but I want to call activity's methods from the service. So,
I've made a public static method in the activity and it is working. I
would like to understand the problems of doing this. Why we have to
use binders if we can do all without them? How is the simplest way to
do this?

Sorry if this is a silly question... :-)

Thank u all!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to