I want to display a dialog/popup window with a message to the user that shows "Are you sure you want to delete this entry?" with one button that says 'Delete'. When Delete
is touched, it should delete that entry, otherwise nothing.
I have written a click listener for those buttons, but how do I invoke a dialog or popup and its functionality?
This is definitely help for you. Try this code: On click of a button, you can put one, two or three buttons with an alert dialog...
This is a way which alike to create the Alert dialog with some line of code.