[android-developers] Re: Running ui thread from another thread
thank you so much for your information Mark .
On Sep 16, 4:57 am, Mark Murphy <mmur...@commonsware.com> wrote:
> On Fri, Sep 16, 2011 at 12:26 AM, Logesh rajendren <loges...@gmail.com> 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/commonsguyhttp://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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home