Intent filter detection in several Activities
<p>I am developing an NFC application (although I think this doesn't really matter for my problem) where I currently have a MainActivity with a TabHost and some other activities (one per tab). I also have an Activity that I have done to read NFC tags. This activity contains intent filters in the manifest to catch the tags.</p>

<p>Right now if I scan a tag the last activity runs and launches a dialog. The problem is that it is an independent activity and the background is empty. I would like to launch the dialog in the current activity instead of launching a new one.</p>

<p>How can I do this? My first thought has been to extend the NFCReader activity in the other Activities but it doesn't work. I think the problem is that in the manifest I have specified the intent-filter only for the NFCReader activity, not for the rest, but I'm not sure.</p>

<p>So the question is: how can I use an intent-filter for all the activities of the application and launch a dialog in front of the current activity without starting a new one?</p>
