title: Starting Service in Android calls Applications onCreate
body: <p>I am starting an android service using,</p>
  
  <pre><code>startService(getApplicationContext(), MyService.class);
  </code></pre>
  
  <p>I have correctly defined my service in AndroidManifest. Now, I am calling above code from Application create. </p>
  
  <p>Case 1: Calling above code from Application onCreate()</p>
  
  <ul>
  <li>I see that Application.onCreate() gets called two time. One is the desired App create and other happens when startService is called.</li>
  </ul>
  
  <p>Case 2: Calling above code from Activity in application</p>
  
  <ul>
  <li>Same behavior as case 1.</li>
  </ul>
  
  <p>Is this intended behavior? </p>
  
  <p>My Android Manifest Code as requested:</p>
  
  <pre><code>    &lt;service
              android:exported="false"
              android:enabled="true"
              android:name=".MyService"
              android:process=".MyService"&gt;
      &lt;/service&gt;
  </code></pre>