Android-Alert Dialog not working
<p>For some reason, I can not get this dialog to show up on the screen. It is triggered by a button press which I know works but the dialog doesn't launch, why not?</p>

<pre><code>     AlertDialog.Builder builder = new AlertDialog.Builder(SummaryActivity.this);
      builder.setTitle(R.string.please_confirm)
             .setMessage(R.string.terms_details)
             .setCancelable(false)
             .setPositiveButton(R.string.sign_to_agree, new DialogInterface.OnClickListener() {
               public void onClick(DialogInterface dialog, int id) {        
                    Intent DrawIntent = new Intent(getApplicationContext(), DrawingActivity.class);
                    startActivity(DrawIntent);
               }
           })
           .setNegativeButton(R.string.cancel_button_label, new DialogInterface.OnClickListener() {
               public void onClick(DialogInterface dialog, int id) {
                    dialog.cancel();
               }
           });
     AlertDialog alert = builder.create();
</code></pre>
