Skip to content

A sample app for demonstration the use Android Bound Services.

Notifications You must be signed in to change notification settings

fernandomx/boundservices

Repository files navigation

Android Bound Services

A sample app for demonstration the use Android Bound Services.

Service:

Is an application component that can perform long-running operations in the background with no user interface.

bound_services

Yes, i said NO USER INTERFACE

These application have their own lifecycle independent of the activity or fragment that they were created in. So, services are unaffected by activity or fragment lifecycle events (onDestroy, onPause, and so on).

By default, services operate no the same thread that they're instantiated on.

You can use bound services when Client-Server interaction. The service acts as the server and someone component is a client. The client could be an activity a fragment a smart-watch or other application.

So, when you use consistent or frequent communication between some client and the service, in this case can be use Bound Services.

To learn more, click in the link above:

https://developer.android.com/guide/components/bound-services

About

A sample app for demonstration the use Android Bound Services.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages