Home | History | Annotate | Download | only in run-background-service

Lines Matching full:link

34     The {@link android.app.IntentService} class provides a straightforward structure for running
37 {@link android.app.IntentService} isn't affected by most user interface lifecycle events, so it
38 continues to run in circumstances that would shut down an {@link android.os.AsyncTask}
41 An {@link android.app.IntentService} has a few limitations:
46 have to send them to an {@link android.app.Activity}.
50 {@link android.app.IntentService}, and you send it another request, the request waits until
54 An operation running on an {@link android.app.IntentService} can't be interrupted.
58 However, in most cases an {@link android.app.IntentService} is the preferred way to simple
62 This lesson shows you how to create your own subclass of {@link android.app.IntentService}.
64 {@link android.app.IntentService#onHandleIntent onHandleIntent()}. Finally, the lesson describes
65 shows you how to define the {@link android.app.IntentService} in your manifest file.
69 To create an {@link android.app.IntentService} component for your app, define a class that
70 extends {@link android.app.IntentService}, and within it, define a method that
71 overrides {@link android.app.IntentService#onHandleIntent onHandleIntent()}. For example:
86 Notice that the other callbacks of a regular {@link android.app.Service} component, such as
87 {@link android.app.Service#onStartCommand onStartCommand()} are automatically invoked by
88 {@link android.app.IntentService}. In an {@link android.app.IntentService}, you should avoid
93 An {@link android.app.IntentService} also needs an entry in your application manifest.
117 {@link android.app.IntentService}.
122 element doesn't contain an intent filter. The {@link android.app.Activity} that sends work
123 requests to the service uses an explicit {@link android.content.Intent}, so no filter is needed.
128 Now that you have the basic {@link android.app.IntentService} class, you can send work requests
129 to it with {@link android.content.Intent} objects. The procedure for constructing these objects
130 and sending them to your {@link android.app.IntentService} is described in the next lesson.