title: Showing notification in IntentService
body: <p>i need to show a notification in a method from intent service, i modify the context to "getApplicationContext" <strong>but it doesnt show anything.</strong></p>
  
  <p>Im using the android example: <a href="http://developer.android.com/guide/topics/ui/notifiers/notifications.html" rel="nofollow">http://developer.android.com/guide/topics/ui/notifiers/notifications.html</a></p>
  
  <pre><code> private void notf_SinConexion()
      {
          NotificationCompat.Builder mBuilder =
                  new NotificationCompat.Builder( getApplicationContext() )
                          .setSmallIcon( R.drawable.ic_action_action_alarm_on )
                          .setContentTitle( "Title" )
                          .setContentText( "Message" );
  
          Intent resultIntent = new Intent( getApplicationContext(), MainActivity.class );
          TaskStackBuilder stackBuilder = TaskStackBuilder.create( getApplicationContext() );
          stackBuilder.addParentStack( MainActivity.class );
  
          stackBuilder.addNextIntent( resultIntent );
          PendingIntent resultPendingIntent =
                  stackBuilder.getPendingIntent(
                          0,
                          PendingIntent.FLAG_UPDATE_CURRENT
                  );
          mBuilder.setContentIntent( resultPendingIntent );
          NotificationManager mNotificationManager =
                  (NotificationManager) getApplicationContext().getSystemService( Context.NOTIFICATION_SERVICE );
          // mId allows you to update the notification later on.
          mNotificationManager.notify( 10, mBuilder.build() );
      }
  </code></pre>