To be more precise the thread which requires a result from the UI
thread is the SurfaceView thread. I do not want to pre generate the
result from the UI thread to minimize the memory footprint.

On Jun 24, 12:03 pm, rukiman <[email protected]> wrote:
> I am in a thread that I did not create, its part of a library and I
> need to generate a result which can only be done in the UI thread.
> Any good tutorial on the best way to achieve this?
>
> I know I will have to post a handler to the UI thread, but whats the
> best way for the UI thread to return the result? And I have to make
> the other thread wait for the result.
>
> A good code snipped would help. Thanks.

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