Android AlertDialog.Builder in switch statement
<p>I think that the titles says it all. I'm new into Android and JAVA and I want to know if it's possible to use the <strong>AlertDialog.Builder</strong> into a switch statement.</p>

<p>So for example, how can I use it here:</p>

<pre><code>case Activity.RESULT_OK:

break;
</code></pre>

<p>I just want to let the user know that action is finished and successful and he just needs to press the "Ok" button. </p>

<p>Thanks a lot!</p>

<p>PS: I already imported:</p>

<pre><code>import android.app.AlertDialog.Builder;
</code></pre>
