0

I need service, which will be started on device boot, also I need to start that service if user start application manually.

This service have to be alive on background, even if user kill application with Task Killer, etc.

Any answer is apprecitiated.

RobertS
  • 135
  • 1
  • 11
Daniel Rosa
  • 123
  • 1
  • 6
  • Try to check this [answer][1] !! I hope it helps [1]: http://stackoverflow.com/questions/2784441/trying-to-start-a-service-on-boot-on-android – Houcine Nouri May 26 '15 at 15:44

1 Answers1

1

To get a callback when the device starts, check this post.

Start a Service in foreground if you want it to survive even when the device is low on memory. Read more on this.

Community
  • 1
  • 1
Gordak
  • 2,060
  • 22
  • 32