Skip navigation

Concurrent programming in Android

Concurrent programming in Android: Android App Development: RESTful Web Services
Concurrent programming in Android: Android App Development: RESTful Web Services

In every Android app, there's a single foreground thread known as the main thread. This thread manages the user interface. All visual elements such as layouts and widgets are a part of the main thread and most of the code that you write in an activity class is executed on that thread. But it's only a single thread, which means only one thing can be happening at a time. When you need to do things in an Android app that might take a few seconds, such as a network request, you have to make sure you're not blocking the main thread.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 25m
Duration
29,122
Views
Show More Show Less
Skills covered in this course
Developer Mobile Apps Servers 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 Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now