title: How do you use an alert dialog box in a broadcast receiver in android?
body: <p>So I have a Broadcast Receiver that listens for incoming SMS and searches the SMS for particular terms.  I implemented the receiver in the manifest and in a separate class from my activity.  </p>
  
  <p><em><strong></em>*EDIT:*</strong>
  Depending on whether or not the SMS contains a particular term I need a dialog box to pop up and in that dialog box the user will be presented with an option to go to a particular website or not go to a particular website.  </p>
  
  <p>If I was doing this in another language I would just have a global variable that the receiver modify and then the other method would be checking it's value to determine whether or not it needed to execute something, but I can't do that in android.</p>