Home
last modified time | relevance | path

Searched refs:IntentService (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/docs/html/training/run-background-service/
Dcreate-service.jd9 <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}.
[all …]
Dsend-request.jd9 <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. This
29 lesson shows you how to trigger the {@link android.app.IntentService} to run an operation by
31 optionally contain data for the {@link android.app.IntentService} to process. You can
32 send an {@link android.content.Intent} to an {@link android.app.IntentService} from any point
35 <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 an
39 {@link android.app.IntentService} by calling
48 {@link android.app.IntentService} called <code>RSSPullService</code>.
53 * IntentService. Passes a URI in the
[all …]
Dindex.jd18 …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 work
54 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
Dreport-status.jd9 <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 other
73 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
/frameworks/base/core/java/android/app/
DIntentService.java52 public abstract class IntentService extends Service { class
75 public IntentService(String name) { in IntentService() method in IntentService
/frameworks/base/docs/html/guide/components/
Dservices.jd14 <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
[all …]
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java18 import android.app.IntentService;
43 public class BandwidthEnforcementTestService extends IntentService {
/frameworks/base/docs/html/training/location/
Dactivity-recognition.jd297 * Return a PendingIntent that starts the IntentService.
498 interval, define an {@link android.app.IntentService} and its required method
499 {@link android.app.IntentService#onHandleIntent onHandleIntent()}. Location Services
504 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 …]
Ddisplay-address.jd97 <p>The {@link android.app.IntentService IntentService} class provides a
104 contrast, an {@link android.app.IntentService IntentService} doesn't need to
108 {@link android.app.IntentService}. This class is your address lookup service.
144 {@link android.app.IntentService#onHandleIntent onHandleIntent()} within the
307 public class FetchAddressIntentService extends IntentService {
325 Because the service extends {@link android.app.IntentService IntentService},
Dgeofencing.jd601 {@link android.app.IntentService} is a good way to handle the intent. An
602 {@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 your
951 <h3>Define an IntentService</h3>
953 The following snippet shows how to define an {@link android.app.IntentService} that posts a
958 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
/frameworks/base/docs/html/training/notify-user/
Dexpanded.jd84 <p>The sample application uses an {@link android.app.IntentService} subclass ({@code PingService})
89 {@link android.app.IntentService} method
90 {@link android.app.IntentService#onHandleIntent onHandleIntent()} specifies the new activity
/frameworks/base/docs/html/training/tv/discovery/
Drecommendations.jd60 The following code example illustrates how to extend {@link android.app.IntentService} to
65 public class UpdateRecommendationsService extends IntentService {
312 <p>In your recommendation service class' {@link android.app.IntentService#onHandleIntent(android.co…
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java21 import android.app.IntentService;
67 public class DefaultContainerService extends IntentService {
/frameworks/base/docs/html/google/gcm/
Dclient.jd114 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} is
128 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 not
541 public class GcmIntentService extends IntentService {
/frameworks/base/docs/html/training/multiple-threads/
Ddefine-runnable.jd43 {@link android.app.IntentService}. {@link java.lang.Thread} and {@link java.lang.Runnable} are
Dcreate-threadpool.jd37 time, an {@link android.app.IntentService} suits your needs. To automatically run tasks
/frameworks/base/docs/html/training/scheduling/
Dwakelock.jd161 {@link android.app.IntentService}), while ensuring that the device does not
200 public class MyIntentService extends IntentService {
/frameworks/base/docs/html/training/sync-adapters/
Dindex.jd101 an {@link android.app.IntentService}.
/frameworks/base/docs/html/training/articles/
Dperf-anr.jd164 application should start an {@link android.app.IntentService} if a
Dmemory.jd206 android.app.IntentService}, which finishes
/frameworks/base/docs/html/training/basics/data-storage/
Ddatabases.jd134 such as with {@link android.os.AsyncTask} or {@link android.app.IntentService}.</p>
/frameworks/base/docs/html/sdk/api_diff/5/
DmissingSinces.txt259 NO DOC BLOCK: android.app.IntentService Method setIntentRedelivery(boolean)
/frameworks/base/
Dpreloaded-classes363 android.app.IntentService
364 android.app.IntentService$ServiceHandler
/frameworks/base/docs/html/sdk/api_diff/3/
DmissingSinces.txt29 NO DOC BLOCK: android.app.IntentService Class
/frameworks/base/docs/html/guide/topics/providers/
Dcontacts-provider.jd2055 service, use a class that extends {@link android.app.IntentService}, to allow the service to

12