title: keeping background service alive after user exit app
body: <p>I'm trying to create a service that will do background jobs for me even after the user closes the app from the running processes menu(by shifting process out of the screen).</p>
  
  <p>What I tried to do is create service in a different process by declaring it like this:</p>
  
  <pre><code>  &lt;service
          android:name=".service.Service"
          android:enabled="true"
          android:icon="@drawable/ic_launcher"
          android:process=":my_process" &gt;
    &lt;/service&gt;
  </code></pre>
  
  <p>and the onStartCommand() is:</p>
  
  <pre><code>    @Override
  public int onStartCommand(Intent intent, int flags, int startId) {
      return START_STICKY;
  }
  </code></pre>