title: non deprecated way to display a notification in android
body: <p>I tries to do this: </p>
  
  <pre><code>Notification not = new Notification(idIcon, text, System.currentTimeMillis());
  PendingIntent pInt = PendingIntent.getActivity(ctx, 0, new Intent(ctx, the_class_to_call), 0);
  
  not.setLatestEventInfo(ctx, app_name, text, pInt);
  </code></pre>
  
  <p>But this was deprecated.</p>
  
  <p>I tries to do this:</p>
  
  <pre><code>NotificationCompat.Builder mBuilder =
               new NotificationCompat.Builder(this)
                      .setSmallIcon(R.drawable.app_logo)
                      .setContentTitle("My notification")
                      .setContentText("Hello World!");
  </code></pre>
  
  <p>But that was deprecated too. </p>
  
  <p>Now, what is the non deprecated way to display a notification in android? 
  All the replies i find are this two ways.</p>
  
  <p>My <strong>minSdkVersion: 19</strong></p>