How to kill activity from a service
<p>I have a main activity A1 running. It sets an alarm a1 that goes off at time t1. An alarm receiver AR1 that catches the a1 alarm and creates a service S1. Service S1 creates a dialog activity A2 and also sets an alarm a2 that goes off at time t2. Another alarm receiver AR2 catches the a2 alarm and I need AR2 to kill the dialog activity A2.</p>

<p>I cannot see how the service can get a handle on the activity in order to kill it or call its finish() method.</p>
