title: Intent Service never getting called
body: <p>I am trying out Intent services. This is what I use to call it  </p>
  
  <pre><code>    Button updateLocation = (Button) findViewById(R.id.btnUpdateLocation);
          updateLocation.setOnClickListener(new OnClickListener() {
  
              @Override
              public void onClick(View arg0) {
                  // TODO Auto-generated method stub
                  Intent updateLocIntent=new Intent(ImTracking.this,UpdateLocation.class);
                  startService(updateLocIntent);}});
  </code></pre>
  
  <p>However in my UpdateLocation class, it never hits any of my break points.</p>
  
  <pre><code>    public class UpdateLocation extends IntentService{
  
      public UpdateLocation() {
          super("UpdateLocation");
      }
  
  
      @Override
      protected void onHandleIntent(Intent intent) {
  
                  SharedPreferences prefs = getSharedPreferences("Settings", 0);
                  final String id = prefs.getString("ID", "");
                  DefaultHttpClient httpclient = new DefaultHttpClient();
                  HttpPost httpost = new HttpPost(
                          "http://iphone-radar.com/gps/gps_locations");
  
                  JSONObject holder = new JSONObject();
  ...
  </code></pre>
  
  <p>What is going on? </p>
  
  <p>Thanks</p>
  
  <p>PS. I am using this because I want to call it with an alarm manager. However on button click I would like to show a progress dialog, where would I place the progress dialog for an intent service? (I've only had experience working with async tasks so far)</p>