Lines Matching refs:IntentService
9 <a href="#CreateClass">Create an IntentService</a>
12 <a href="#DefineManifest">Define the IntentService in the Manifest</a>
18 …ocRoot}guide/components/services.html#ExtendingIntentService">Extending the IntentService Class</a>
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
41 An {@link android.app.IntentService} has a few limitations:
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.
67 <h2 id="CreateClass">Create an IntentService</h2>
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:
74 public class RSSPullService extends IntentService {
88 {@link android.app.IntentService}. In an {@link android.app.IntentService}, you should avoid
91 <h2 id="DefineManifest">Define the IntentService in the Manifest</h2>
93 An {@link android.app.IntentService} also needs an entry in your application manifest.
117 {@link android.app.IntentService}.
128 Now that you have the basic {@link android.app.IntentService} class, you can send work requests
130 and sending them to your {@link android.app.IntentService} is described in the next lesson.