Is it possible dismiss a PopupWindow from its button handler in a different activity?
<p>I didn't architect this, but here's the situation : there is a PopupWindow with a button in it.  The button handler is in a <strong>different activity</strong> from the Activity that created the PopupWindow.  I want to know if there's a way to use the View param to the button handler to access the PopupWindow to have it <em>dismiss()</em> itself when I tap the button.</p>

<p>So far I've been able to use a series of <em>getParent()</em>'s to iterate up to the containing PopupWindow. But when I do it says it's a "PopupWindow$PopupViewContainer" (PopupWindow itself is not derived from View; it's derived from Object)</p>

<p>Is there any way I can use this to access the actual PopupWindow so I can call its <em>dismiss()</em> method?</p>

<p>Thanks in advance!</p>
