Example of binding and unbinding to the {@link LocalService}.
This demonstrates the implementation of a service which the client will
bind to, receiving an object through which it can communicate with the service.
Demo
App/Service/Local Service Binding
Source files
src/com/google/android/samples/app/LocalServiceBinding.java |
The Local Service Binding implementation |
src/com/google/android/samples/app/LocalService.java |
The implementation of the service itself |
/res/any/layout/local_service_binding.xml |
Defines contents of the screen |
|