Showing an Android Alert Dialog
Following code will show Android Alert Dialog.
public void showOkAlertDialog(CharSequence message)
{
new AlertDialog.Builder(this)
.setMessage(message)
.setPositiveButton("OK", null)
.show();
}
Message Must be something you need to show to user.
Comments
Post a Comment