Two Laptop Bag*
The moose likes Android and the fly likes what is so special about UI Thread? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "what is so special about UI Thread?" Watch "what is so special about UI Thread?" New topic

what is so special about UI Thread?

gauravkv gupta

Joined: Feb 18, 2012
Posts: 21

I was going through some posts and blogs, and i found that UI Threads can update UI but other threads can not.
So i want to ask What is so special about UI Threads so that they can update UI component whereas other threads can not update.
In addition, why normal threads can not update UI components.

Please correct me if their is some mistake in my understanding of UI Threads.
Please update me regarding UI Threads

Thanks in appreciation
Deepak Bala

Joined: Feb 24, 2006
Posts: 6661

My answer on your other post kinda hints at why UI threads are special. Background threads are meant for long running operations. You do not want to mix them with UI threads.

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: what is so special about UI Thread?
Similar Threads
Call a siebel webservice using java code(jsp,servelts)
Editing Special Character
Simple Java Game
How to jump to a point in a program?
CRUD + Hibernate + GWT