Dismissing an Android popupwindow
<p>I use a popupwindow in my activity that i would like to dimiss, but i see the following documentation about the dimiss() method for popup windows:</p>

<p>public void dismiss ()
Since: API Level 1</p>

<p>Dispose of the popup window. This method can be invoked only after showAsDropDown(android.view.View) has been executed. Failing that, calling this method will have no effect.
See Also</p>

<pre><code>* showAsDropDown(android.view.View)
</code></pre>

<p>If I don't want to show the popup with showAsDropDown how else can u remove it from the main view?</p>
