Service lifecycle
Android services can be various types. This is full Google documentation https://developer.android.com/develop/background-work/services
All my service is the same type - Bound Service (because onBind() method, which returns an IBinder object), and Started Service (because they implements the onStartCommand() method). An reference of all service stored to Global objects with references to all application services
- Simple key-value service with Local Storage
- Cryptographic local storage key-value service
- WebRTC service
- SIP service
Main point to working with service is don't forget declare it in Manifest.
Sorry, will continue later...
AndroidMosaic context:
Comments (
)
)
Link to this page:
http://www.vb-net.com/AndroidMosaic/Index05.htm
|
|