title: Android IntentService never called
body: <p>I've got an IntentService that I want to start upon onCreate. It's a fire and forget that makes a call to a website and then (possibly) starts a download through downloadmanager. I don't believe that my service is being started, because I don't see any Log statements from it. I've got the service in my manifest, same package as main. It also does not show up in my logcat (another thread said it should). </p>
  
  <p>onCreate:</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) 
  {
      super.onCreate(savedInstanceState);
      setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
  
      Intent heartbeat = new Intent(this, Heartbeat.class);
      startService(heartbeat);
  }
  </code></pre>
  
  <p>*I've also tried this.startService(heartbeat); and it also did not work.</p>
  
  <p>manifest:</p>
  
  <pre><code>&lt;application
      android:debuggable="true"
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
  
      &lt;service android:name=".Heartbeat" android:enabled="true"/&gt;
  
      &lt;activity
          android:name=".MainActivity"
          android:configChanges="keyboardHidden|orientation|screenSize"
          android:label="@string/title_activity_main" &gt;
  
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>*with or without android:enabled flag makes no difference</p>
  
  <p>start of IntentService:</p>
  
  <pre><code>public class Heartbeat extends IntentService
  {
      public Heartbeat()
      {
          super("Heartbeat");
          Log.v("SUPER", "SUPER");
      }
  
      @Override
      protected void onHandleIntent(Intent intent)
      {
          Log.v("HERE", "HERE");
          //do other stuff
  </code></pre>
  
  <p>Neither of these log statements show up in console/logcat, and my service never hits the web server (this code was previously in an asynctask and was functioning). Any ideas on what I'm doing wrong?</p>
  
  <p>Edit - I do see a warning from tag ActivityManager in my all messages stating "Unable to start service Intent { act=com.example.vs_1.Heartbeat }: not found". However, nearly every suggestion I've seen on that message has been to put  in manifest in the application tag, which I've already done.</p>