Bringing my Alarm to the front
<p>I had a few problems with my alarm that are in a another thread <a href="http://stackoverflow.com/questions/9933732/alarm-manager-not-working-how-i-want">here</a> if anyone could help but anyway here is a new question. If I set an alarm using my app, say for 5 minutes from now, and then close the app, how would I code it so that my app activity comes back to the front? </p>

<p>This is basically the same as the clock app already on most android phones. I'm doing this to allow the user to stop the alarm. Would I be right in saying that I would have to modify my existing code to, when the alarm is run, launch a new intent to bring the activity to the front? Or can I simplify this and only have an alertdialog or something open instead of opening the entire app?</p>

<p>Any links would be appreciated</p>

<p>Thanks</p>
