title: How to create notifications that don't go away when clicked in Android?
body: <pre><code>int icon = R.drawable.icon4;        
  CharSequence tickerText = "Hello"; // ticker-text
  long when = System.currentTimeMillis();         
  Context context = getApplicationContext();     
  CharSequence contentTitle = "Hello";  
  CharSequence contentText = "Hello";      
  Intent notificationIntent = new Intent(this, Example.class);
  PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0);
  Notification notification = new Notification(icon, tickerText, when);
  notification.setLatestEventInfo(context, contentTitle, contentText, contentIntent);
  </code></pre>
  
  <p>This won't work for me.</p>
  
  <p>How could I create a notification that is clickable and goes to my app, but does not go away when clicked?</p>