title: Prevent an Android service from getting destroyed after an unbind
body: <p>I have a scenario where an activity starts a service by invoking the <code>startService</code> method: both the <code>Activity</code> and the <code>Service</code> are in the same package. Then the service, according to its configuration parameters, could launch an activity (Let's call it <code>ExternalActivity</code>) contained in a different package: this activity bind the service through <code>bindService</code>; once this activity has finished its tasks, it calls the <code>unbindService</code> method as follows...</p>
  
  <pre><code>// method of ExternalActivity
  @Override
  public void onDestroy() {
      super.onDestroy();
      unbindService(...);
  }
  </code></pre>
  
  <p>As a consequence, the service is also destroyed.
  Is there the possibility of avoiding the destruction of the service?</p>