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
3,883
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 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