How to get the response from a modal dialog?
<p>I currently have this:</p>

<pre><code>Builder yesandno = new AlertDialog.Builder(this);           
yesandno.setTitle("QuickResponse");
yesandno.setMessage(message);
yesandno.setPositiveButton("YES", null);
yesandno.setNegativeButton("NO", null);
yesandno.show();
</code></pre>

<p>How should I go by setting an event listener that will capture if the user clicked YES or NO?</p>
