I want to remap the power button to show a custom system dialog / alert dialog instead of turning the screen off and on. I've looked at the Button Remapper apps but haven't seen any way I can do it. I want to do it without making a custom ROM but I'm not sure if it's possible.
How do you remap the power button event to show a system dialog / alert dialog?