I would like to know is there a way to get events while displaying a System dialog (Such task manager, shut down alert,...).
I can close the system dialogs from my a
Use Broadcast-Receiver and place intent inside onreceive() method.Then register this receiver where you display your alert dialog. Then it automatically disable settings,recent apps button ----Nagesh