Searched refs:IntentService (Results 1 – 25 of 28) sorted by relevance
12
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 running37 {@link android.app.IntentService} isn't affected by most user interface lifecycle events, so it41 An {@link android.app.IntentService} has a few limitations:50 {@link android.app.IntentService}, and you send it another request, the request waits until54 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 simple62 This lesson shows you how to create your own subclass of {@link android.app.IntentService}.[all …]
9 <a href="#CreateRequest">Create and Send a Work Request to an IntentService</a>28 The previous lesson showed you how to create an {@link android.app.IntentService} class. This29 lesson shows you how to trigger the {@link android.app.IntentService} to run an operation by31 optionally contain data for the {@link android.app.IntentService} to process. You can32 send an {@link android.content.Intent} to an {@link android.app.IntentService} from any point35 <h2 id="CreateRequest">Create and Send a Work Request to an IntentService</h2>37 To create a work request and send it to an {@link android.app.IntentService}, create an39 {@link android.app.IntentService} by calling48 {@link android.app.IntentService} called <code>RSSPullService</code>.53 * IntentService. Passes a URI in the[all …]
18 …ocRoot}guide/components/services.html#ExtendingIntentService">Extending the IntentService Class</a>42 of these is {@link android.app.IntentService}.45 This class describes how to implement an {@link android.app.IntentService}, send it work54 Learn how to create an {@link android.app.IntentService}.60 Learn how to send work requests to an {@link android.app.IntentService}.68 work request from an {@link android.app.IntentService} to the
9 <a href="#ReportStatus">Report Status From an IntentService</a>12 <a href="#ReceiveStatus">Receive Status Broadcasts from an IntentService</a>42 <h2 id="ReportStatus">Report Status From an IntentService</h2>45 To send the status of a work request in an {@link android.app.IntentService} to other73 public class RSSPullService extends IntentService {92 <h2 id="ReceiveStatus">Receive Status Broadcasts from an IntentService</h2>107 // Broadcast receiver for receiving status updates from the IntentService
52 public abstract class IntentService extends Service { class75 public IntentService(String name) { in IntentService() method in 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 each289 <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 to306 <li>Provides default implementation of {@link android.app.IntentService#onBind onBind()} that308 <li>Provides a default implementation of {@link android.app.IntentService#onStartCommand[all …]
18 import android.app.IntentService;43 public class BandwidthEnforcementTestService extends IntentService {
297 * Return a PendingIntent that starts the IntentService.498 interval, define an {@link android.app.IntentService} and its required method499 {@link android.app.IntentService#onHandleIntent onHandleIntent()}. Location Services504 component that receives the intent is the {@link android.app.IntentService} you're defining.510 <h3>Define an IntentService</h3>513 {@link android.app.IntentService#onHandleIntent onHandleIntent()}:520 public class ActivityRecognitionIntentService extends IntentService {539 public class ActivityRecognitionIntentService extends IntentService {588 public class ActivityRecognitionIntentService extends IntentService {615 <!-- Define IntentService -->[all …]
97 <p>The {@link android.app.IntentService IntentService} class provides a104 contrast, an {@link android.app.IntentService IntentService} doesn't need to108 {@link android.app.IntentService}. This class is your address lookup service.144 {@link android.app.IntentService#onHandleIntent onHandleIntent()} within the307 public class FetchAddressIntentService extends IntentService {325 Because the service extends {@link android.app.IntentService IntentService},
601 {@link android.app.IntentService} is a good way to handle the intent. An602 {@link android.app.IntentService} can post a notification, do long-running background work,605 {@link android.app.IntentService}:611 * Create a PendingIntent that triggers an IntentService in your951 <h3>Define an IntentService</h3>953 The following snippet shows how to define an {@link android.app.IntentService} that posts a958 public class ReceiveTransitionsIntentService extends IntentService {1026 <!-- Specify the IntentService in the manifest -->1027 <h3>Specify the IntentService in the manifest</h3>1029 To identify the {@link android.app.IntentService} to the system, add a
84 <p>The sample application uses an {@link android.app.IntentService} subclass ({@code PingService})89 {@link android.app.IntentService} method90 {@link android.app.IntentService#onHandleIntent onHandleIntent()} specifies the new activity
60 The following code example illustrates how to extend {@link android.app.IntentService} to65 public class UpdateRecommendationsService extends IntentService {312 <p>In your recommendation service class' {@link android.app.IntentService#onHandleIntent(android.co…
21 import android.app.IntentService;67 public class DefaultContainerService extends IntentService {
114 Framework can send a message to it. If your app uses an {@link android.app.IntentService}122 <li>A {@link android.app.Service} (typically an {@link android.app.IntentService})125 go back to sleep in the process. Including an {@link android.app.IntentService} is128 use a {@link android.app.IntentService}.173 ({@code GcmBroadcastReceiver}), and an {@link android.app.IntentService}491 {@link android.app.IntentService}), while ensuring that the device does not541 public class GcmIntentService extends IntentService {
43 {@link android.app.IntentService}. {@link java.lang.Thread} and {@link java.lang.Runnable} are
37 time, an {@link android.app.IntentService} suits your needs. To automatically run tasks
161 {@link android.app.IntentService}), while ensuring that the device does not200 public class MyIntentService extends IntentService {
101 an {@link android.app.IntentService}.
164 application should start an {@link android.app.IntentService} if a
206 android.app.IntentService}, which finishes
134 such as with {@link android.os.AsyncTask} or {@link android.app.IntentService}.</p>
259 NO DOC BLOCK: android.app.IntentService Method setIntentRedelivery(boolean)
363 android.app.IntentService364 android.app.IntentService$ServiceHandler
29 NO DOC BLOCK: android.app.IntentService Class
2055 service, use a class that extends {@link android.app.IntentService}, to allow the service to