On Fri, Sep 16, 2011 at 12:26 AM, Logesh rajendren <[email protected]> wrote:
> Is there any way to runĀ  a UI thread from another class ?

You don't "run a UI thread".

If you mean "run some code on the UI thread", use runOnUiThread(), or
post(), or postDelayed(), or a Handler, or AsyncTask.

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

Android 3.1 Programming 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