service

  1. rleiman

    Android Question Stopping a service that's rescheduled to restart

    Hi Everyone, I'm calling a service from an activity. That activity has a button to start the service and another button to stop it. In the called service I'm using SetExactAndAllowWhileIdle to reschedule the service so it continues to run. Same thing happens when using StartServiceAtExact from...
  2. rleiman

    Android Question Starting a service every 15 minutes.

    Hi Everyone, I would like to wake up a service in 15 minute intervals and continue to do that constantly. For example, if the user pressed a button to start it and the current time is 11:05, I would like the service to wake up at 11:15, 11:30, 12:00 and so on. I was thinking about maybe using...
  3. Alessandro71

    Android Question Services are processes or threads?

    if i start 2 different services from an app, will they spawn 2 different processes or are they just 2 threads? in other words: 2 different service modules will run in parallel on a multicore cpu, or execution will serialized anyway?
Top