call a function, after a dialog box gets dismissed
<p>in my app, when the activity gets launched i am calling an AsynTask to load some details in the page. In between if the user clicks a button, an alert dialog builder used to appear. When the user clicks the Ok button i want the dialog to be dismissed and again i want to call the async task. how to do this.</p>

<p>i tried calling the function within the alert box before dismissing the dialog box it gets crashed. </p>

<p>and i tried calling the function after the <code>dialog.dismiss()</code> line, but then also the app get crashed.</p>

<p>how to do this, pls help me friends....</p>
