Lines Matching full:service
43 in your activity (and only in an activity, never in a service or
111 to sleep, you can use a {@link android.os.PowerManager} system service feature called
122 <p>One legitimate case for using a wake lock might be a background service
131 <p>If your app includes a broadcast receiver that uses a service to do some
151 <p>Using a broadcast receiver in conjunction with a service lets you manage the life cycle
159 passes off the work to a {@link android.app.Service}
163 the work to a service, you are effectively allowing the device to go back to sleep before
177 wake lock when the service starts. The intent that is passed with
186 // Start the service, keeping the device awake while the service is
187 // launching. This is the Intent to deliver to the service.
188 Intent service = new Intent(context, MyIntentService.class);
189 startWakefulService(context, service);
193 <p>When the service is finished, it calls