Mind map
Android Service
Map content
Android Service
Doesn't have user interface
Is an application component that can perform long-running operation in the background.
Can take two forms:
- Bound Service
- A component can bind to a Service to interact with it.
- A service is "bound" when an application components binds to it by calling the method bindService()
- Started Service
- A services is "started" when an application component (such an activity) starts it by calling the method startService()
- Bound Service
extend from android.app.Service class in order to create a Service.
Life Cycle:
- onCreate()
- onStartCommand()
- onStar()
- onDestroy()
- onStar()
- onStartCommand()
- onCreate()
Information
- Description
- Mind Map on Android Service, created by laotshi on 05/10/2015.
- Created by
- laotshi
- Views
- 0
- Rating