This is how simple adding a dialogue is to Android:
1 2 3 4 5 |
new AlertDialog.Builder(this).setTitle("Title").setMessage("The Message") .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { } }).show(); |