title: Service state on resume
body: <p>Given a service that return <a href="http://developer.android.com/reference/android/app/Service.html#START_STICKY" rel="nofollow">START_STICKY</a> from its onStartCommand:</p>
  
  <p>1) The documentation mentions killing of the service, as far as I understand this, that is not done by calling <a href="http://developer.android.com/reference/android/content/Context.html#stopService%28android.content.Intent%29" rel="nofollow">Content.stopService</a>, but done by the system if it needs resources (or my service could also crash which would be effectively the same - no clean shutdown) ?</p>
  
  <p>2) How can I simulate the killing mentioned in 1) ? The killing is probably different from stopping (stoppping != killing ?) the service using the application menu in the settings, so I can't use this menu for testing purposes?</p>
  
  <p>3) If my service is killed and then restarted, according to the documentation, only onStartCommand seems to be called, but not onCreate. So I conclude that variables of my service are persistet before my service gets killed? Or why does onCreate not get aclled? Or does it maybe?</p>
  
  <p>My aim is to make sure that my service still works reliable when it was killed and restarted. Thanks for any hint :-)</p>