Skip navigation

Communicate with the UI from a service

Communicate with the UI from a service: Android Development: Concurrent Programming
Communicate with the UI from a service: Android Development: Concurrent Programming

The actions you execute in an intent service can be long running, since the service is decoupled from the user interface, and it’s running in its own background thread. But that also means you don’t have direct access to the current activity, and can’t call the activity’s methods directly or affect any of its view components. The most common way of sending information back to the UI is to use broadcast messages.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 52m
Duration
22,789
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.