Edit: Just thought I could use an Intent to the service and it will go
through the onstart() etc... so I can do what I need but what
if I needed to do the same in the activity as that dosen't have the same
thing.

2009/11/15 Paul Townsend <[email protected]>

> Hi I am having trouble with broadcast receivers, I want to use the
> media_button broadcast so I can call a method on my service, I have
> tried putting the receiver inside the service class so I can call the
> method but that just says that the receiver is enclosed, but not
> static. If I create a new receiver class then I would have to bind a
> service connection from the receiver and that don't seem right, so
> what am I doing wrong I tried searching for it but cant seem to find
> an answer.
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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