title: How stop alertDialog excecution
body: <p>I need to stop the excecution app, until the user click OK.
  This's my method...</p>
  
  <pre><code>public void mostrarMensaje(String mensaje)
  {
      final Message NO_HANDLER = null;
      final AlertDialog alertDialog = new AlertDialog.Builder(this).create();
      alertDialog.setTitle("Atención");
      alertDialog.setMessage(mensaje);
      alertDialog.setButton("OK", new DialogInterface.OnClickListener() {
         public void onClick(DialogInterface dialog, int which) {
            alertDialog.setButton("OK",NO_HANDLER) ;   
            alertDialog.dismiss();
         }
      });
      alertDialog.setIcon(R.drawable.listo);
      alertDialog.show();
  }
  </code></pre>