title: how to start a service properly and keep it alive?
body: <p>I know there are other question with the same topic, but I didn't find an answer to my questions.</p>
  
  <p>my goal is to have a service which works on the background as a location listener, and it won't be stopped when the application is stopped (either by a task killer).</p>
  
  <p>currently, I'm starting the service with startService(Intent) if it the service isn't started already and bind to it using bindService(Intent,ServiceConnection, 0).</p>
  
  <p>now, the first problem is that my application crashes but the service has started, and when I run the application again it works.</p>
  
  <p>the second problem, is that if I kill my application using advanced task killer, it kills my service as well, although in the Service page it says that the service will be stopped when no bounded clients left and if  stopService() or stopSelf() have been called.</p>