Changes

Jump to: navigation, search

An Overview of Android Started and Bound Services

30 bytes added, 19:57, 1 July 2013
The Anatomy of a Service
* '''onDestroy()''' – Called when the service is being destroyed.
* '''onHandleIntent()''' – Applies only to IntentService subclasses. This method is called to handle the processing for the service. It is executed in a separate thread from the main application.
 
<google>BUY_ANDROID</google>
Note that the IntentService class includes its own implementations of the onStartCommand() and onBind() callback methods so these do not need to be implemented in subclasses.

Navigation menu