I would love to do that, the only problem that I'm running into is
that I can't bind to the service (via a service connection).

The startService works fine but the bind won't work in a
broadcastreceiver object. If I can't bind to the service, I don't
believe there is a way to communicate with it?

On Nov 10, 9:17 am, Streets Of Boston <[email protected]> wrote:
> Use Intents. Put data in the Intent's 'extras'.
> Put this Intent in the startService call. The Service's onStartCommand will
> be called with this Intent and you can handle it there.
>
> Or you can define an AIDL that your service implements. Bind to the service
> and communicate with the service through the methods defined in this AIDL.

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