Create a Dialog from AlarmManager?
<p>I have scheduled an alarm using the AlarmManager and it fires off a BroadcastReceiver.  Inside the broadcast receiver I want to call an Activity and create a popup dialog.  </p>

<p>The important thing here is I want to see the background of wherever the user is and NOT bring my application to the front first.  Take a look at the following code:</p>

<pre><code>Intent intent = new Intent(context, AlarmActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
context.startActivity(intent);
</code></pre>

<p>Now here is what happens, which I do not want:
1. User is looking at my application
2. User presses home and is now in some other application
3. My application is still running in the background
4. Alarm triggers->BroadcastReceiver->The above intent is started
5. The user is now looking at the last page of MY application and my popup dialog</p>

<p>What I want instead is:
5. The user is still looking at whatever application they were in, but they now have my popup dialog.</p>

<p>How can I call the activity without bringing my application to the front?</p>
