i want create modal dialog box for my application.
so when modal dialog box open the other activities are blocked. no event are done like back button press or home butto
Use can use setCancellable(false); setCanceledOnTouchOutside(false); for the dialog itself, that should stop that dialog from closing by BACK and by tapping outside the dialog.
You can't override the HOME button.