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.
*EDIT:* 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.
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.