>
> Hi All~!
>
> How can I know who started(bind) service?
>
> I already check 'RunningServiceInfo()' but I couldn't find.

Option #1: pass an "extra" in the Intent that identifies who started it

Option #2: define a callback/listener mechanism in the service, and have
clients of the service register themselves

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



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