I have a service (ServiceA) which is used by activities by binding to
it.

I would like to kick off one operation on ServiceA, on occasion, via
AlarmManager. I thought the following chain of components would be
appropriate: AlarmManager -> BroadcastReceiver -> ServiceB ->
ServiceA.

In my example, Service B would bind to Service A in
ServiceB.onCreate(), call functions via the bind interface, and unBind
in ServiceB.onDestroy().

The obvious solution is just to have Service A expose this operation
via an Intent, and then have the AlarmManager (via the
BroadcastReceiver) fire off this Intent  to ServiceA. However, for
reason I won't go into, this isn't very feasible for my situation.

Thanks

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