Lines Matching refs:IntentService
14 <li><a href="#ExtendingIntentService">Extending the IntentService class</a></li>
33 <li>{@link android.app.IntentService}</li>
277 <dt>{@link android.app.IntentService}</dt>
281 android.app.IntentService#onHandleIntent onHandleIntent()}, which receives the intent for each
289 <h3 id="ExtendingIntentService">Extending the IntentService class</h3>
293 implement your service using the {@link android.app.IntentService} class.</p>
295 <p>The {@link android.app.IntentService} does the following:</p>
302 android.app.IntentService#onHandleIntent onHandleIntent()} implementation, so you never have to
306 <li>Provides default implementation of {@link android.app.IntentService#onBind onBind()} that
308 <li>Provides a default implementation of {@link android.app.IntentService#onStartCommand
310 android.app.IntentService#onHandleIntent onHandleIntent()} implementation.</li>
314 android.app.IntentService#onHandleIntent onHandleIntent()} to do the work provided by the
317 <p>Here's an example implementation of {@link android.app.IntentService}:</p>
320 public class HelloIntentService extends IntentService {
323 … A constructor is required, and must call the super {@link android.app.IntentService#IntentService}
331 * The IntentService calls this method from the default worker thread with
332 * the intent that started the service. When this method returns, IntentService
353 android.app.IntentService#onHandleIntent onHandleIntent()}.</p>
356 android.app.IntentService#onCreate onCreate()}, {@link
357 android.app.IntentService#onStartCommand onStartCommand()}, or {@link
358 android.app.IntentService#onDestroy onDestroy()}, be sure to call the super implementation, so
359 that the {@link android.app.IntentService} can properly handle the life of the worker thread.</p>
361 <p>For example, {@link android.app.IntentService#onStartCommand onStartCommand()} must return
363 android.app.IntentService#onHandleIntent onHandleIntent()}):</p>
373 <p>Besides {@link android.app.IntentService#onHandleIntent onHandleIntent()}, the only method
374 from which you don't need to call the super class is {@link android.app.IntentService#onBind
384 <p>As you saw in the previous section, using {@link android.app.IntentService} makes your
391 android.app.IntentService}. That is, for each start request, it uses a worker thread to perform the
465 <p>As you can see, it's a lot more work than using {@link android.app.IntentService}.</p>
475 android.app.IntentService} handles this for you, though you are able to modify it). The return value