Confirm dialog (Alert) inside AsyncTask
<p>So I have a long process running inside AsyncTask but it might need to confirm something from user while processing, I know how I can show confirm dialog but how to retrieve the output and keep wait till use confirms.</p>

<pre><code>this.runOnUiThread(new Runnable() {
            public void run() {
               boolean output = ConfirmUser(message);
            }
        });
</code></pre>
