well if you capture the event on the UI thread and just send them via
queueEvent then you'll be doing what you describe anyway, unless I've
missed something.

On Jul 14, 10:55 pm, zoerb <[email protected]> wrote:
> Is there a way to setup an EventListener on a worker thread?  I have a
> GLSurfaceView, and want the input events to be routed to the renderer
> thread instead.  I know that you can pass events to the renderer by
> way of queueEvent(Runnable r), but I would like a way for the events
> to be passed directly to the renderer so that it can choose which to
> handle, and which to pass on.  I'm guessing this can't be done because
> the UI thread would have to block indefinitely while it waits for the
> renderer thread to return.  But it'd be great if someone could let me
> know for sure.  Is there any other way one could do this?
>
> Thanks,
> Ryan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to