Hi everyone,
I'm hoping to do some audio processing in a remote service (service
I've spawned onto its own thread); this will basically occur in a while
(1) loop - so constant processing.  Occasionally I want to provide
some information back to the activity that is bound to the service;
I'm doing this by sending a broadcast from the service, that is
received by a broadcast receiver on the activity, which then uses the
activity's service connection to call into the service and get the
information needed; at this point the broadcast receiver makes an
alert dialog presenting the information to the user.
If I stay in my while(1) loop after raising the broadcast, the action
in the broadcast receiver never seems to occur.  This is confusing to
me since the activity and service are in separate threads.  If I end
the loop after raising the broadcast, the desired behavior on the
activity side occurs, but of course this isn't acceptable since I need
to be doing constant processing.  Anyone have any suggestions of what
the probelm might be?
Thanks!
Natalie
-- 
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