My minimized application calls AlertDialog . It has two buttons: OK and Cancel .
By Cancel, just close the AlertDialog , but using the OK button, you need to display the main activation of the application or just bring the application to the foreground.
How to do it?