Android Programming Tutorials

(Romina) #1
Sitting in the Background

a KillJob that causes the Thread to fall out of its queue-monitoring
loop.

Further Reading..........................................................................................


Coverage of the Android concept of "the UI thread" and tools like the


Handler for managing communication between threads can be found in the


"Dealing with Threads" chapter of The Busy Coder's Guide to Android


Development. You will also learn about AsyncTask in that chapter, which is


another important means of coordinating background and UI thread


operations.


If you are interested in Java threading in general, particularly the use of the


java.util.concurrent set of thread-management classes, the book Java


Concurrency in Practice is a popular source of information.


76
Free download pdf