title: onReceive() never get called using AlarmManager
body: <p>well , I've been sitting all day with this common problem....
  so here it is , this is the method that set the alarm:</p>
  
  <pre><code>public void fireAlarm(int Year,int Month,int Day,int Hour,int Min,int Sec)
  {
      Calendar calendar=Calendar.getInstance();
      calendar.set(Year, Month, Day, Hour, Min,Sec);
      Intent intent = new Intent(this, AlarmReciver.class);
      PendingIntent penintent = PendingIntent.getBroadcast(this.getApplicationContext(),234324,intent,0);
      AlarmManager alm = (AlarmManager)getSystemService(ALARM_SERVICE);
      alm.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), penintent);
  </code></pre>
  
  <p>this is the BroadcastReciver:</p>
  
  <pre><code>package il.co.galrom;
  import android.content.BroadcastReceiver;
  import android.content.Context;
  import android.content.Intent;
  import android.util.Log;
  
  public class AlarmReciver extends BroadcastReceiver {
  
      @Override
      public void onReceive(Context context, Intent intent) {
              Log.i("alarm","alarm worked");  
      }
  
  }
  </code></pre>
  
  <p>and this is my 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="il.co.galrom"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="18" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name="il.co.galrom.MainActivity"
              android:label="@string/app_name" &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;receiver android:name="il.co.galrom.AlarmReciver"&gt;&lt;/receiver&gt;
  
      &lt;/application&gt;
  &lt;/manifest
  </code></pre>
  
  <p>In LogCat I can see the brodcast is happening but the <code>OnRecieve()</code> never get called</p>
  
  <p>Thank you!</p>