title: Android notification isn't showing up
body: <p>I am attempting to show a small notification in my android app but I cannot visually see anything. <code>MainActivity</code> class has a <code>static field</code> named <code>activity</code> which is is equal to <code>this</code>. <code>message.data</code> is just pulled from an object. Here is what I am calling:</p>
  
  <pre><code>sendNotification(MainActivity.activity.getApplicationContext(), 
                   null, 
                   message.data, 
                   message.data, 
                   1, true, true, true, 0);
  </code></pre>
  
  <p>And here is the meat:</p>
  
  <pre><code>public static void sendNotification(Context caller, Class&lt;?&gt; activityToLaunch, String title, String msg, int numberOfEvents,boolean sound, boolean flashLed, boolean vibrate,int iconID) {
      NotificationManager notifier = (NotificationManager) caller.getSystemService(Context.NOTIFICATION_SERVICE);
      Notification notify = new Notification(R.drawable.ic_launcher,"Notification",System.currentTimeMillis());
  
      notify.icon         = iconID;
      notify.tickerText   = title;
      notify.when         = System.currentTimeMillis();
      notify.number       = numberOfEvents;
      notify.flags        |= Notification.FLAG_AUTO_CANCEL;
  
      if (sound)   notify.defaults    |= Notification.DEFAULT_SOUND;
      if (vibrate) notify.vibrate     = new long[] {100, 200, 300};
      if (flashLed) {
          notify.flags    |= Notification.FLAG_SHOW_LIGHTS;
          notify.ledARGB  = Color.CYAN;
          notify.ledOnMS  = 500;
          notify.ledOffMS = 500;
      }
  
      int NOTIFICATION_ID = 1232;
  
      Intent notificationIntent = new Intent();
      PendingIntent contentIntent = PendingIntent.getActivity(caller, 0, notificationIntent, 0);
      notify.setLatestEventInfo(caller, title, msg, contentIntent);
      notifier.notify(NOTIFICATION_ID, notify);
  }
  </code></pre>
  
  <p>I can log messages so I know it is getting called and such- however, I am a beginner to android development and likely am missing a critical part. I am running on an emulator android 2.2. This is all in a plugin object that I have linked to cordova that is running in the background, if that matters at all.</p>