This article covers mechanisms of thread communication in Android together with the traditional Java techniques. So you’ll find in the article: Passing data through a one-way data pipe;
shared memory communication; implementing a consumer-producer pattern with BlockingQueue; operations on message queues; sending tasks back to the UI Thread.
Link to the article: Efficient Android Threading. Thread Communication