How to create Notification which avoid TaskManager's killing?
<p>I want to create Notification in Android.
But, If I kill the application via TaskManager, it terminate the Notification too..
It is the code-snipet.</p>

<p>it is the caller.</p>

<pre><code>Intent intent = new Intent(myActivity, NotificationReciever.class);
String appName = myActivity.getTitle().toString();
Calendar calendar = Calendar.getInstance();  
calendar.setTimeInMillis(System.currentTimeMillis());  
calendar.add(Calendar.SECOND, time);
AlarmManager alarmManager = (AlarmManager)
myActivity.getSystemService(Context.ALARM_SERVICE);  
alarmManager.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender);
</code></pre>

<p>it is the Reciever.</p>

<pre><code>public class NotificationReciever extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
</code></pre>

<p>I added the code, but it can't</p>

<pre><code>intent.setFlags( Intent.FLAG_ACTIVITY_NEW_TASK );
</code></pre>

<p>I' like to make alive the Notification.
Would you tell me how to avoid the TaskManager's killing?</p>
