Skip navigation

Bind to a service from an activity

Bind to a service from an activity: Android Development: Concurrent Programming
Bind to a service from an activity: Android Development: Concurrent Programming

You have learned how to create and register a service that’s designed to be bound to an activity. Now, learn about the code that binds to the service and calls its methods. The first step is to create a field in the client activity type as a service. Then, create a service connection field that includes code to manage the events that happen when the service is connected and disconnected.

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