Sample code from Android official tutorial about background operation with multiple threads topic.