Posted By

petethered on 11/23/09


alert dialog android

Versions (?)

Android Alert Dialog

 / Published in: Java

  1., "Alert Title", "Alert Message", "Button", false)

Report this snippet  


RSS Icon Subscribe to comments
Posted By: petethered on November 23, 2009

new AlertDialog.Builder(MainActivity.this) .setTitle("Simple Alert Dialog") .setMessage("Are you sure that you want to quit?") .setNegativeButton("Yes", new DialogInterface.OnClickListener() {

      public void onClick(DialogInterface dialog, int whichButton) {



You need to login to post a comment.