Will wrote:
> Can you bind and invoke calls exposed by a service in a thread without
> a looper?

No on the binding part.

> I have a thread that is doing blocking IO on a socket; sometimes I
> want to invoke some service and make an RPC call with some data that I
> receive over the socket.
> 
> However, it does not seem that I can bind to the service because I
> don't have a looper.  How do I work around this requirement?

You can give your thread a Looper, to meet the requirement. Or, you can
try something other than binding (e.g., local singleton pattern).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

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