Can i create a dialog box without negative or positive buttons. That destroys it self after specific action?
AlertDialog.Builder dialog_detect= new AlertDialog.
You can call alertDialog .dismiss () after any action.
alertDialog .dismiss ()