I have a multi-window application. There can be several windows all one on top of another.
I would like a dialog to pop up when an event is set and have this dialog be the top most window. This dialog will ask the user if they wish to shutdown the device (this is why I want to be able to show up as the topmost window).
Can someone point me to some sample code as to how to do this? I am sensing the event in a thread. Or even explain the steps to do this?
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …