Sunday, November 15, 2009

Re: [android-developers] Broadcast receiver

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 <deerain@googlemail.com>
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate