File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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: 6662

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
I agree. Here's the link:
subject: what is so special about UI Thread?
It's not a secret anymore!