Ongoing notifications
<p>I am trying to create a notification that will appear in the "ongoing" area of the notification bar (like WeatherBug).</p>

<p>Here is the code that I am using:</p>

<pre><code>PendingIntent intent = PendingIntent.getActivity(lastContext, 0, notifyIntent, PendingIntent.FLAG_UPDATE_CURRENT | Notification.FLAG_ONGOING_EVENT | Notification.FLAG_NO_CLEAR)
</code></pre>

<p>From what I understand, FLAG_NO_CLEAR, should also prevent the notification from being cleared by pressing the Clear button, this is also not working</p>

<p>Any tips SO?</p>
