title: android - How to show shutdown confirmation dialog programmatically
body: <p>I would like to programmatically shutdown the users device from within my app. Since I know it is impossible to shut it down directly, I was wondering if there is a way for me to instead show the confirmation dialog box that would show up if you were to press "Power off".</p>