Creating an IntentService

suggest change

To create an IntentService, create a class which extends IntentService, and within it, a method which overrides onHandleIntent:

package com.example.myapp;
public class MyIntentService extends IntentService {
     protected void onHandleIntent (Intent workIntent) {
         //Do something in the background, based on the contents of workIntent.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents