title: Can I startService from Application#onCreate()?
body: <p>I want to start a service when my Application is initialized from whatever component.</p>
  
  <pre><code>public class MyApplication extends Application {
      @Override
      public void onCreate() {
          super.onCreate();
          startService(new Intent(getApplicationContext(), MyService.class)); 
      }
  }
  </code></pre>
  
  <p>Is the Service available in the <code>onCreate()</code> state? Will the <code>super.onCreate()</code> initialize all components of an Application registered in the AndroidManifest.xml ?</p>
  
  <p>I can run this code in my galaxy s, but I can't make sure it will be run in all devices and platforms, I can't find any documentation about the initialization of an Android APP.</p>