Skip navigation

Define and start a background thread

Define and start a background thread: Android Development: Concurrent Programming
Define and start a background thread: Android Development: Concurrent Programming

The Handler class is used to post messages to a thread’s message queue. But there are many actions that you might want to run in a completely separate thread that runs simultaneously with the app’s main thread. The lowest level way of doing this is to create your own Java thread objects. Like the Handler class, a thread needs a Runnable object—an implementation of the Runnable interface—that defines the work to be done.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 52m
Duration
22,648
Views
Show More Show Less
Skills covered in this course
Developer Mobile Apps Android

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.