I know this question is asked a lot, but I dont really understand it. I google very much. How can I repeat a service every 5 minutes, even when the app is not running? Without you need to reboot.
on 01/12/2013 – Made popular on 01/12/2013
Can I run two services in android, I have a App with a Service, this service extends of Service and it is run in background each 4 seconds, but this service in background consumes me much battery and mobile data plan. Can I run the app with GCM and the old Service , is possible work both services in a same project?
Recently working with google play services and especially LocationClient there is one thing I cannot understand and not mentioned in the docs.
For mLocationClient.connect() It is mentioned in the docs that
public void connect ()
Connects the client to Google Play services. This method returns immediately, and connects to the service in the background.
My kindle disconnects and automatically reconnects every 2-10 seconds ever since i rooted it making it impossible to do anything online. Finally i figured out how to stop it when i stopped when i stopped all google services and process running.
I have a service to scan Bluetooth Low Energy devices and show a notification. This works if the app is started or the the app is in background. But if the app was removed from background, the service is running but the bluetooth scan dont work. Can a service do something if the app is killed? Thank you.
I have a app with a service that runs in the background with START_REDLIVER_INTENT everything works for the most part
except for this, when you kill the task and the background service is restarted, it hangs on 'restarting' if you goto running services
it switches from running to 'restarting' when you kill the task, and i cannot get it to get past that...