title: intent service never starts
body: <p>I am creating my first <code>intent service</code>, I have followed <a href="http://mobile.tutsplus.com/tutorials/android/android-fundamentals-intentservice-basics/" rel="nofollow">this</a> tutorial but for some reason my intent service never starts. I am trying to call the <code>intentService</code> from fragment. Here is my <code>onCreate</code> code of the fragment:</p>
  
  <pre><code>@Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) 
      {
          .....
  
          IntentFilter filter = new IntentFilter(ResponseReceiver.ACTION_RESP);
          filter.addCategory(Intent.CATEGORY_DEFAULT);
          receiver = new ResponseReceiver();
          getActivity().registerReceiver(receiver, filter);
  
          return homeSalePage;
      }
  </code></pre>
  
  <p>Now the starting of the <code>intentService</code> called from some <code>AsyncTask</code> from it's <code>onPostExecute</code> function, here is the code:</p>
  
  <pre><code>        Intent msgIntent = new Intent(getActivity(), SaleServiceForImages.class);
          Bundle b = new Bundle();
          b.putString("saleId", "H7m2F4zdT6");
          b.putInt("rowId", 1);
          msgIntent.putExtras(b);
          getActivity().startService(msgIntent);
  </code></pre>
  
  <p>SaleServiceForImages</p>
  
  <pre><code>    public class SaleServiceForImages extends IntentService 
      {
          public SaleServiceForImages() 
          {
              super("SaleServiceForImages");
          }
  
          @Override
          protected void onHandleIntent(Intent intent) 
          {
              Intent broadcastIntent = new Intent();
              broadcastIntent.setAction(ResponseReceiver.ACTION_RESP);
              broadcastIntent.addCategory(Intent.CATEGORY_DEFAULT);
              ImgService imgService = new ImgService();
              Bundle b = intent.getExtras();
              Bitmap bitmap = imgService.getImageOfSale(b.getString("saleId"));
              broadcastIntent.putExtra("BitmapImage", bitmap);
              broadcastIntent.putExtras(b);
              sendBroadcast(broadcastIntent);
          }
      }
  </code></pre>
  
  <p>Manifest</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.shale.shaleapp"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;supports-screens
          android:anyDensity="true"
          android:largeScreens="true"
          android:normalScreens="true"
          android:resizeable="true"
          android:smallScreens="true" /&gt;
  
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.CAMERA" /&gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="16" /&gt;
      &lt;application
          android:allowBackup="true"
          android:name="com.shale.activities.GlobalActivity"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen" &gt;
          &lt;activity
              android:name="com.shale.activities.SplashActivity"
              android:label="@string/app_name"
              android:configChanges="orientation"
              android:screenOrientation="portrait"
              android:noHistory="true" &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;activity
              android:name="com.shale.activities.MainActivity"
              android:label="@string/app_name"
              android:configChanges="orientation"
              android:screenOrientation="portrait"
              android:noHistory="true" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.shale.activities.MainPage"
              android:label="@string/title_activity_main_page"
              android:configChanges="orientation"
              android:screenOrientation="portrait" &gt;
          &lt;/activity&gt;
  
          &lt;meta-data
              android:name="com.facebook.sdk.ApplicationId"
              android:value="@string/fb_app_id" /&gt;
          &lt;activity
              android:name="com.facebook.LoginActivity"
              android:label="@string/app_name" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.shale.activities.SearchActivity"
              android:label="@string/title_activity_search" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.shale.activities.ShareSaleActivity"
              android:label="@string/title_activity_share_sale" &gt;
          &lt;/activity&gt;
  
          &lt;service android:enabled="true"  
           android:name="com.shale.services.SaleServiceForImages" /&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>No idea where to start looking, while debugging I notice that the <code>intentService</code> constructor never been called. </p>